For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2007 > Re: [PEAR] Validating multiple form fields together with one rule









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Validating multiple form fields together with one rule
Justin Patrin

2007-03-30, 4:00 am

On 3/29/07, David Sanders <dsanders@baselinesolutions.com.au> wrote:
>
> The one thing the documentation forgets to mention is that using an array
> to specify multiple elements can also be used for your own callbacks.
> Within your callback, the argument passed will become an array.
>
>
>
>


addFormRule is always a good fallback for non-standard rules.

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com