Re: Quickform: can you check if input is in array without using registerRule?
| From: | Bertrand Mansion | Date: | Mon, 24 Jul 2006 16:32:23 +0000 |
| Subject: | Re: Quickform: can you check if input is in array without using registerRule? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24745@lists.php.net to get a copy of this message | ||
l Burnerheimerton wrote:
>I want to check if a user input is a number between 1
>- 15. Can I do that without registering a custom
>validation function?
>
>If so, how?
<http://pear.php.net/manual/en/package.html.html-quickform.intro-validation.php>
Look at the compare rule.
--
Bertrand Mansion
http://www.mamasam.com - creative internet solutions
http://golgote.freeflux.net - blog