Re: [QuickForm] addrule email vs emailorblank
| From: | Bertrand Mansion | Date: | Wed, 27 Aug 2003 14:44:21 +0000 |
| Subject: | Re: [QuickForm] addrule email vs emailorblank | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7432@lists.php.net to get a copy of this message | ||
<eddie@omegaware.com> wrote :
> Why is there a choice between email and emailorblank as two rules when
> they both do the same thing (emailorblank) unless you specify the
> "required" rule as well?
Emailorblank will be removed in the next release. This is a remain from the
past, when there was a mismatch between "required" and the other rules.
Use 'email' not 'emailorblank'.
Bertrand Mansion
Mamasam