Re: Problems with groups rules in QuickForm
| From: | Alexey Borzov | Date: | Mon, 11 Apr 2005 05:25:46 +0000 |
| Subject: | Re: Problems with groups rules in QuickForm | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18679@lists.php.net to get a copy of this message | ||
Hi,
Dan Rossi wrote:
Found a possible bug, a grouprule wont create a client side checkThat's because 'client' should be 6th parameter to addGroupRule(), not 5th.
$form->addGroupRule('name', 'Name is required', 'required',null,'client'); $name is an array of firstname and surname.