Re: optional rule quick_form
| From: | Torgny Bjers | Date: | Thu, 11 Aug 2005 12:44:35 +0000 |
| Subject: | Re: optional rule quick_form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220416@lists.php.net to get a copy of this message | ||
I am assuming that this is after a post operation. If it's JavaScript, I
think the question should be directed to another list. So, if you group
the elements that should be validated after the checkbox has been
checked, you can activate/deactivate the group validation rules based on
the state of the checkbox. Makes sense?
Regards,
Torgny
Uroš Gruber wrote:
> Hi!
>
> I have one checkbox. I checkbox is checked I show additional fields
> (just set visiblity to true). But some of that fields are required
> only if this checkbox is checked. Is this possible with quick_form. I
> try myself with grouping but without any luck.
>
> regards
>
> Uros
>