Re: Addrule not working

From: Date: Tue, 25 May 2010 13:28:38 +0000
Subject: Re: Addrule not working
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30563@lists.php.net to get a copy of this message
Those rules look correct, let's see the rest of your form. MS On Tue, May 25, 2010 at 9:23 AM, zia mohaddes <zia.simab@gmail.com> wrote: > Hello everyone, > > I am currently using addrule in my quickform as follows to do the following: > > $this->form->addRule('dob1', 'Date of Birth is required', > 'required'); > $this->form->addRule(array('dob1', 'dob2'), 'Date of Birth > fields must > match', 'compare'); > > but unfortunately this doesn't work at all? Am i missing something?? > > Thank you kindly for your help in advance! > > regards, > > zia > -- ----------------------------------------- Mark Steudel P: 206.375.7244 msteudel@gmail.com . : Work : . http://www.mindfulinteractive.com . : Play : . http://www.steudel.org/blog

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