Re: quickform, validation of date element

From: Date: Mon, 01 Aug 2005 06:05:04 +0000
Subject: Re: quickform, validation of date element
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20206@lists.php.net to get a copy of this message
Hi, Julien Tschäppät wrote:
I have problem to add a rule for a date element ($form->addElement('date', 'testDate', 'Date: ', $options) ). I tried with $form->addRule('testDate', 'date required', 'required') but that don't work. I saw somewhere that I have to use a GroupRule. I don't understand how I have to do that. Can someone help me ?
http://pear.php.net/manual/en/package.html.html-quickform.html-quickform.addgrouprule.php

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