I suppose now that this forum has been created, I'll transplant some of the posts from the PHPclasses forums? I would like to nail down my attempts at building...
Hello, ... Sure, go ahead. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews -...
I have a form that has 5 identical selects - one for each day of the week. An example: $fieldform->AddInput(array( "TYPE"=>"select", "NAME"=>"monday_start", ...
Hello, ... That kind of validation is very specific. You need use ValidateServerFunction and ValidateClientFunction, or maybe write a custom input plug-in...
Hello, ... Yes, it requires a little learning before you can create your own custom inputs. If you plan to reuse that kind of inputs, it may be worth investing...
Hello Pavel, Your end ISP mail.ru is rejecting messages sent by my server, so I am replying here in the hope that you get this message. ... Hummm... it seems...
I use an image to bring a popup window with a calendar. I found that an image defined as $frmProy->AddInput(array( "TYPE"=>"image", "ID"=>"image_CalFin", ...
Hello, ... Just define the ONCLICK attribute like this: "ONCLICK"=>"calFin.popup(); return false;" -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP...
... that ... a ... The problem with this solution is that, if I have two or more such images on my form, or click twice on the image, I get the re- submission...
Hi Manuel, I had originally posted this question on freshmeat.net but I thought that it would be better served if I move the thread to this forum since others...
Hello, ... Now that you mentioned it, I realized that I have changed that last month but did not upload the updated version. I just did it now. Please check it...
Hi Manuel, Thanks. The new version now works! I have noticed a documentation error as well. The documentation states that the AddInput function takes ...
Hello, ... Ah, right. I have just fixed that now. Thanks for the notice. ... Not yet. I will add an option for the next release. -- Regards, Manuel Lemos PHP...
how do i generate a select box with let's say 90 options? like a "select country". and how do i insert records to database. do i have to write custome code...
I have not been able to succesfully run the test_smarty_form.php script. I get the form page, but only the title, and header "Test for Manuel Lemos' PHP form...
Hello, ... I have tested the example with that version of Smarty and it works fine. Usually the error that you mentioned happens when you change the form ...
... header "Test ... blank. ... define ... is ... fine. ... form ... the call ... to ... changed ... your ... focus to ... call ... function ... It appears...
... test_smarty_form.php ... 2.6.7 ... works ... necessary ... AddFunction ... OK nothing wrong with Smarty - but here's where it fails in forms.php: Function...
Hello, ... The pre-filter is only called when the template is compiled. When you call fetch(), the pre-filter has already been executed. -- Regards, Manuel...
Hello, ... This means that the input field element specified in the AddFunction call is not present in the form output definition. It seems that either you...
Hello Manuel, No I have not changed the templates (form.tpl, header.tpl, footer.tpl, formerror.tpl). The email section of the template looks like this: <tr> ...
Hello, ... It is hard to tell without further examination. If the input field is not added to the form output when the AddFunction is called and you have not...
... footer.tpl, ... have ... It turns out that it was a permissions problem. The template files were not readable by apache. D'oh! Thanks for taking the time...
before allowing data to interact with a database, one should prepare the data to make sure it will be stored in the database correctly and prevent malicious ...
Hello, ... For presenting values in the forms, the forms class already uses HtmlEntities() to output HTML tag attribute values and data. Escaping text strings...
Hello, ... You need query the database and retrieve the values and their names to build an associative array with the pairs of options values. For instance...
i have set up my form so that the logic part is primarily in my main page and i use and include statement to call a content template as required. everything...