Hello, I have a number of forms all using your form_class class. I am using it in conjunction with Smarty, following the example provided. The problem I am...
... provided. ... Here's the problem - if you use different values for the "NAME" and "ID" parameters in AddInput(), then Validate() fails. Strange....
Hello, ... It is hard to tell without a concrete example. Can you post the smallest example that you can write that exhibits this behavior? -- Regards, Manuel...
Manuel, how can i call a function inside of your class? i want to call a simple date function, but i can't figure out how to get it done. i tried loading in...
... Manuel, OK, i uploaded the code to my production server and received the following error... Fatal error: Cannot redeclare class form_date_class in ...
Hello, ... This means that you are including the form_date.php twice in your script. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components...
Hello, ... Yes. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP...
manuel, thanks for the guidance on the double date class call. i removed it and the rror went away. i would like to insert an inline date using you date ...
Hello, ... Sure. Have you seen the custom date input example script test_date_input.php ? ... If you have kept the OutputDebug debug function as in the...
... that is what i tried to manipulate to work with a regular form and failed. i'll go back and work on it some more. i assume the date arrays can be set up...
Manuel, i think my problem is that i didn't start my form using your examples, rather, i based it on the devshed (i think it was devshed) tutorial. now that i...
Manuel, i went ahead and updated my code so it more closely follows your methodology. everything went pretty well until i found out that ie's formatting...
manuel, i figured out the ie bug - there was an extra space or return it was interpretting as a horizontal line. i have successfully approximated your form...
Hello, ... No. Currently, Javascript is just used for client side validation but server side validation is also implemented. ... Yes. This option tells whether...
Hello, ... PHP array indexes are case sensitive. It should be LabelClass, LableSTYLE and LabelID. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP...
... Manuel, thank you. time to check my vision... -lol- i tried all three again and nothing budged that label from its current position while the input moves...
Hello, ... It should be : "LabelCLASS"=>"first", or "LabelSSTYLE"=>"margin-top: 3em;" -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components...
Hello, I have a form with multiple submit buttons, using AddInput(array( "TYPE" => "submit", "ID" => "button_name" )) I am trying to determine which button is...
Hello, ... You need to define the NAME attribute or else the browser does not pass the information about which input was used. -- Regards, Manuel Lemos PHP...
manuel, first, thanks for all you help. when i finally get this all worked out, i'll post some sample code on the net so that others can learn what you've...
Hello, ... It's LabelCLASS, not labelCLASS. ... That is more an HTML/CSS issue that really does not have to do with the class. -- Regards, Manuel Lemos PHP...
... yes. i'm going to write that 100 times on a chalkboard as soon as i find a chalkboard! changing to "LabelCLASS" allowed the class css to be picked up by...
Manuel, the misaligned text box was my issue - i styled the inputs (including text boxes) to have a margin-bottom, but i hadn't styled the selects to have the...
I tried to learn how form templating is done in the creation of my form... but well, the example is a little complex for now... let's suppose my form has 2...
Hello, ... You can either use the Smarty template engine or interleave PHP commands to add input parts in HTML code . Take a look at the class examples to see...