Question about QuickForm validate() behavior
| From: | Edward Finkler | Date: | Sat, 18 Jan 2003 19:11:24 +0000 |
| Subject: | Question about QuickForm validate() behavior | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3339@lists.php.net to get a copy of this message | ||
I'm using QuickForms in an application that dynamically generates form
fields and validation rules. I just discovered that if you do not define
any rules for a QuickForm object, the validate() method returns false.
Personally, I would have expected validate() to return true, because no
rules were violated. Is this reasonable? Is there a possibility that
this might change in a future revision?
Thanks,
--
Ed Finkler
Web and Security Archive Administrator
CERIAS - Purdue University
http://www.cerias.purdue.edu/
v: 765.496.6771 f: 764.496.3181