'message' => 'Please enter a number between 0 and 23.')
On Nov 26, 6:41 pm, "ge...@dinnerbooking.com"
<ge...@dinnerbooking.com> wrote:
> I have an field which is an hour:
>
> "hour" => array(
> "required" => true,
> "allowEmpty" => false,
> "rule" => "/^\d{1,2}+/",
> ),
>
> but how do I also specify that the number MUST be between 0 and 23 ?
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment