Please do not put unanswered questions here. This page is for frequently asked questions with answers. Use the PEAR General mailing list or newsgroup.

How do I apply HTML_QuickForm validation to fields?

Just add it. FormBuilder returns a normal HTML_QuickForm object from getForm(). You can call addRule(), addFormRule(), or addGroupRule() on it to add validation as normal.

 
pear/formbuilder_faqs.txt · Last modified: 2008/09/16 11:49 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki