Quickform image submit buttons in an array

From: Date: Wed, 18 Jun 2003 10:24:52 +0000
Subject: Quickform image submit buttons in an array
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6083@lists.php.net to get a copy of this message
Hi list folk, I'm having a little trouble using the image button element in Quickform. When I use the same type of <input> element in a raw HTML form and its clicked I'm passed back the nameOfButton_x and nameOfButton_y - indicating position of mouse cursor on image at time of submission. If, in Quickform, I have a group of these image based submit buttons, all with the same element name, I would like to know which has been clicked - for use in a switch statement. Switch($_GET['actiongroup']['action']) { Case 'register': Break; Case 'cancel': Break } Etc. Is this possible? Regards, -- Mike Carter [web developer] tel: 01925 758229 // fax: 01925 758023 // web: www.koa.uk.com This message is confidential. Unless you are the named addressee or their delegated representative you may not use, disclose, or copy the contents of the e-mail. If you are not the named addressee please notify the sender immediately and delete the material from your computer. Any views or opinions contained in this e-mail are solely those of the author unless expressly stated otherwise --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________

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