Re: HTML_QuickForm & Rules.
| From: | Bertrand Mansion | Date: | Tue, 16 Dec 2003 13:51:27 +0000 |
| Subject: | Re: HTML_QuickForm & Rules. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9569@lists.php.net to get a copy of this message | ||
<helgi@trance.is> wrote :
> 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
Sorry, I don't understand what you want to do ?
Bertrand Mansion
Mamasam