Re: Handeling more then one Form on a page with QF

From: Date: Wed, 02 Feb 2005 11:35:25 +0000
Subject: Re: Handeling more then one Form on a page with QF
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17329@lists.php.net to get a copy of this message
Mirco Blitz wrote:
Is there a way to handle more than one Form on a page with QF. I use the following method to accomplish that:
$qf1->addElement('hidden', 'action', 'search'); $qf2->addElement('hidden', 'action', 'something'); if (($_REQUEST['action'] == 'search') && ($qf1->validate()) { } if (($_REQUEST['action'] == 'something') && ($qf2->validate()) { } i hope you see what i mean. Arne

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