For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2005 > Re: [PEAR] Required items









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] Required items
Justin Patrin

2005-03-18, 8:56 pm

On Fri, 18 Mar 2005 12:25:26 -0800, Rob Barreca
<rob@electronicinsight.com> wrote:
> I know you can use addRule to require items with QuickForm, but is there
> a place to set the default as optional? I have a lot of records with
> optional data and just want to require a few records.
>


Huh? By default QuickForm does not make elements required, therefore
they're optional. You have to addRule to make them required.

--
Justin Patrin
Sponsored Links







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

Copyright 2008 codecomments.com