Re: Quickform Element Conditional Rule

From: Date: Thu, 20 Jan 2005 22:15:05 +0000
Subject: Re: Quickform Element Conditional Rule
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17057@lists.php.net to get a copy of this message
On Thu, 20 Jan 2005 20:28:25 +0100, Aaron Wormus <aaron@wormus.com> wrote: > Justin Patrin wrote: > > >Use a form rule with a callback. > > >>http://pear.php.net/manual/en/package.html.html-quickform.html-quickform.addformrule.php > > > > > I'm looking for something I can do on the client side. I have created > new rules, but there is no documentation on how to get the clientside > stuff going (and I'm not very good with javascript). > I think you'd have to implement your own rule class and override getValidationScript. -- Justin Patrin

« previous php.pear.general (#17057) next »