HTML_QuickForm2 (PEAR) and Rules

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

I'd like to add rules to QuickForm2, however, the version I've
downloaded from PEAR seems not to have come with the necessary files.
Everywhere I look I see people talking about adding rules to their
form object and the development wiki at
suggests that I should have these features, which I do not (->addRule
gives a non method error and I have no Rules.php and no Rules folder
in the PEAR library).

Does anyone have experience with rules in QuickForm2 and could tell me
where I went wrong and how I should get access to these features?

Thanks in advance,

Re: HTML_QuickForm2 (PEAR) and Rules

Quoted text here. Click to load it

cvs -d checkout pear/

Re: HTML_QuickForm2 (PEAR) and Rules

It also looks like the package has been updated to 0.2 on PEAR.

Dan wrote:
Quoted text here. Click to load it

Site Timeline