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...
Hello, ... Yes, the LabelCLASS and LabelSTYLE attributes of the custom inputs are not being propagated to the child inputs. I will fix that next week. -- ...
i think you you want something like this... http://dbhub.net/enter_product.php take a look at the source and my form css which is near the bottom of the a very...
Manuel, i'm getting the following error... "customer: it was not defined a valid input value AddLabelPart: it was not specified a valid label FOR input ID" ...
Hello, ... This means that you are trying to show a label for an input that does not exist or was not successfully added to the form. Try checking the error...
... Manuel, how do i check for AddInput call error? tia... __________________________________ Do you Yahoo!? Plan great trips with Yahoo! Travel: Now over...
... Manuel, I hacked around enough to have located the problem without finding the AddInput call error (I'd still appreciate alesson in how to check this,...
Hello, ... Have you checked the section of the class documentation named "Enhancing forms with custom input type plug-ins" ? -- Regards, Manuel Lemos PHP...
Hello, ... If you check the documentation you can see that that function returns an error message in case it fails or an empty string when there was no error. ...
Hello, ... You have set the VALUE to "" which is not present in the $options array, so AddInput fails. ... When you call the Reset() function on an associative...
... Manuel, thank you! i was using "customer_name" instead of "customer_id" as my "VALUE" entry. using "customer_id" produces the combo box and using your ...
Hi! i need make custom input class. It must consists of select and text fields. Text field is alweys innactive but if in select field selected "Other" it must...
Hello, ... This is relatively easy but it requires a little studying of how to create custom input classes. I suggest that you start by trying to do it...
Manuel, i want to create a multiple select box that displays product_number (already done). for the products that are selected, i want to insert the...
Hello, ... I am afraid that it will be hard to find anybody to do all your work for free. This list is more about helping people to use the forms class to ...
Hello, ... I have had requests to implement dependent selects and I was willing to develop a plug-in class to provide that. However, since I never needed it, I...