Re: QuickForm any my own rule?

From: Date: Wed, 13 Jul 2005 08:03:32 +0000
Subject: Re: QuickForm any my own rule?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19961@lists.php.net to get a copy of this message
Am Mittwoch, den 13.07.2005, 09:30 +0200 schrieb Massimiliano Arione: > Martin Klaffenboeck wrote: > > Hello! > > > > I want to add a new rule: > > > > There is a select item 'Type' and another text item 'Company'. Now > > Type > > is array('private', 'business'). If the User chooses business, the > > Company field is required if he chooses private, the Company may be left > > blank. > > > > How can I do this? > > I think you should use addFormRule() I don't know what happend, I didn't change anything, but it seems to work now. Thanks at all. Martin

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.pear.general (#19961) next »