Re: best/easiest way to validate a Yes/No group field?
| From: | l Burnerheimerton | Date: | Tue, 15 Mar 2005 00:39:57 +0000 |
| Subject: | Re: best/easiest way to validate a Yes/No group field? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-18052@lists.php.net to get a copy of this message | ||
Sorry. By validate, I mean I want to make certain
that IF something was entered for that field, either a
"Y" or "N" was entered. Not requiring that field.
--- Justin Patrin <papercrane@gmail.com> wrote:
> On Mon, 14 Mar 2005 16:26:35 -0800 (PST), l
> Burnerheimerton
> <lburnerheimerton@yahoo.com> wrote:
> > I have lots of Yes/No fields on a form. I want to
> > validate all fields going in to database.
> >
> > Do you write a custom validation or is there
> another
> > way?
> >
>
> Validate it how? If you just need one or the other
> checked, look into
> addGroupRule.
> --
> Justin Patrin
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com