Hello, ... I am not sure what is your difficulty. Anyway, if you want to use the same forms class object to render different forms, you need to call the...
Hello, ... You should not use page wide templates when using the forms smarty plug-in because it will always enclose the resulting template output between the...
Hello, ... Yes, it is possible. Since in the example script it was not necessary because if any of the inputs fail validation the custom validation never ...
Manuel, I have an input that has options set as under: 'OPTIONS' => array( 1 => 1, 2 => 2, 3 => 3 ); and the forms class marks up HTML like so: <option...
Hello, ... PHP converts array indexes that are strings with numbers into integers. Anyway, I need to see an example script to reproduce the problems of ...
Manuel, I debugged it and realized it was due to a chicken-n-egg situation: I would not know the OPTIONS until I retrieve data and/but I need OPTIONS to...
Manuel, Could you list the new features you added from the last version so we can try them out? TIA ... mostly ... my ... features ... ins to ... how to...
Manuel, How do I set a validation rule to specify the minimum/maximum number of selected options in a multiple select input? Eg: 1 => 1 2 => 2 3 => 3 4 => 4 5...
Hello, ... I think it is better that you take a look at the latest file changes feed: http://www.phpclasses.org/browse/feed/changes/package/1.xml -- Regards, ...
Hello, ... This is very specific to provide as a feature built-in the class. I suggest that you study the custom validation example plug-in and adapt it to...
Manuel, I guess there is a glitch in the calculation of aging: templates/form_password_body.html.php (995 days ago) (2004-06- 20T22:06:53Z) Age in days: 995 ...
Manuel, I beg to differ on this - partly and also mainly because its not a client action, just a validation. Restricting the number of options selected is very...
Also, it is similar to ValidateMinimumLength/ValidateMaximumLength validation rules. Thanks, ... options ... to ... and ... at ... checkboxes ... class. I ... ...
Manuel, Is is possible to separate the generated JavaScript into disk-files for effective client-side caching and reducing the HTML file-size? Similar to...
I would like to re-phrase this request: The forms class could accumulate all the generated JavaScript in a class-var that we could fetch using a method...
Hello, ... Please understand that the main forms class is already too large. Avoiding to include more code in the main forms to implement features that are not...
Hello, ... It can be a good idea, but I am not sure how to solve certain problems. If the generated Javascript code file does not exist, the class can save it...
Manuel, I realized file I/O should not be the task for forms class (which is a validation class) and should be left to the developer. Which is why, I posted a...
Hello, ... The way I see it, does not seem to be a good idea to leave Javascript file generation and caching to the applications. First, it is a complicated...
Manuel, It would be great if the forms class can manage the process of caching the JavaScript files. You quoted several issues and offered self-explanatory...
Manuel, How can I change the name format of the input from: 'p_name_suffix' to just: 'name_suffix' without touching the form class core or form_date core? I...
Hello, ... Yes, it sees the best solution. The class also will issue an error that will be trapped by the debug callback function. ... I think it is better to...
Hello, ... I have already answered to this here: http://www.phpclasses.org/discuss/package/1/thread/63/#246 -- Regards, Manuel Lemos Metastorage - Data object...
Hello, ... I already answered this here: http://www.phpclasses.org/discuss/package/1/thread/66/ -- Regards, Manuel Lemos Metastorage - Data object relational...
Manuel, Thanks much for considering this exciting feature implementation! I hope you would address any derived extensions of the form_class (descendants) by...
By the way, I've successfully isolated JavaScript to disk-files on another tool I use that generates JavaScript but did not have any support to isolate the...
Hello, ... I do not see the need for the life time cache check. I may just add an option to generate the Javascript only if it does not exist and it would not...
Hello, ... There is no need for using another generic caching component to implement caching mechanism. I have developed a mature generic caching class a long...