QuickForm group validation rules
| From: | zorro | Date: | Thu, 18 Aug 2005 22:31:59 +0000 |
| Subject: | QuickForm group validation rules | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20469@lists.php.net to get a copy of this message | ||
I created a rule to validate a group of 3 text fields. It works great as long as the group is 'required'. If it is optional it doesn't get called even though I am entering data in the fields.
If I add rules for the indivdual fields like a numeric check then my group validation is called but no error message is displayed! The form will not progress to the next page though which is correct behaviour.
This seems like a bug. Has anyone else seen this type of behaviour with group validation? Does anyone have a work around?
thanks