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...
Manuel, being a DIY (do it yourself) kind of programmer, i'm not exaclty sure what you are looking for in an answer. so, let me explain in english and then...
Hello, ... Sorry, I thought you wanted to display select fields on which the options of one would be updated according to the option selected by the user on...
... Manuel, i want the user to select the various product_numbers that a note will apply to. then i want the user to type the note in a textarea. after...
Hello, ... If you want to assign multiple products to a note, you need to use select MULTIPLE. The GetInputValue will return an array of selected values. -- ...
hi Manuel, i have the following code... ... $sql = 'SELECT product_id, product_number FROM t_product ORDER BY product_number ASC'; $rs = $conn->Execute($sql); ...
Hello, ... I just released a new version that fixes this problem -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP ...
Hello, ... Your initial value is "". Therefore it must be present in the options array. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components...
Manuel, i populate a select via a table in my db. the table in the db is subject to change. for example, new product may be added at any time. i sort the...
manuel, how come the following displays and acts correctly even though there is no "" value in the database table to match the VALUE in the class? $conn =...
Hello, ... That is because you have that validation type ValidadeAsNotEmpty, which is meant to not allow the empty string value. ... If you query ordering by...
Hello, ... Because MULTIPLE select fields may have not option set, unless you use the ValidateAsSet. Even in that case, you can start with no options set. The...
Hello, ... Because MULTIPLE select fields may have not option set, unless you use the ValidateAsSet. Even in that case, you can start with no options set. The...
Manuel, thanks for the reset and key php functions. i set it up so that i was querying the db to get these values - now i can save a query. i could use the...
Hello, ... I don't need it now either but there is a lot of demand. So, I have been thinking about a working model solution. What I have in mind is to add the...
Manuel, i can't get label to work with file for file uploads. $form->AddInput(array( "TYPE"=>"file", "NAME"=>"userfile", "ACCEPT"=>"application/pdf", ...
Hello, ... That means that you need to define the ID of the file input so the browser can associate the label to the input. -- Regards, Manuel Lemos PHP...
Hello, everybody I am playing with FormGeneration script and have found a problem when dealing with non Latin-1 encoded text. When the ValidationErrorMessage...
Hello, ... As you may notice the escaping only happens that way when the encoding class variable is left set to "iso-8859-1" which is also known as Latin-1 ....
Hello, ... Hummm... I was not aware that character 127 was not accepted as valid. Anyway, I just fixed that and a few other minor XHTML compatibility problems....