HTML_QuickForm & Rules.
| From: | Helgi | Date: | Tue, 16 Dec 2003 13:39:54 +0000 |
| Subject: | HTML_QuickForm & Rules. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9566@lists.php.net to get a copy of this message | ||
I was wondering ... Isn't there any way to make
$form->addRule('email', 'Please insert your email', 'email');
and complare aslo a reqiured field ?
With out making my own rules ?
I've made my own rule to compare two password fields and user addFormRule and then in addRule i have required (Just like i saw in the manual :) ) but my thought was isn't there any inbuilt features to do this ? If so i haven't found them and i thank the person that can answear my question :D