QF Controller using an imgae submit button

From: Date: Mon, 22 Sep 2003 10:50:02 +0000
Subject: QF Controller using an imgae submit button
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7948@lists.php.net to get a copy of this message
Hi, Having a play with the latest QF Controller class this morning as I've just been given the task of creating a new registration wizard (joy!) QF controller seems ot fit the bill perfectly, even the example could not be nicer. One small problem - I use image buttons for next/previous/cancel. $actions[] = &HTML_QuickForm::createElement('image', 'action', 'buttons/next.jpg', array('alt' => $language['L_ButtonNext'])); Reading the manual page http://pear.php.net/manual/en/package.html.html-quickform-controller.int ro.php I see it mentions a line about $this->addElement('submit', $this->getButtonName('submit'), 'Send'); Is it possible to use the 'image' element type as a submit button in the QF controller? Regards, -- Mike Carter ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________

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