Quickform 'cancel' submit button
| From: | Mike Carter | Date: | Tue, 17 Jun 2003 14:37:32 +0000 |
| Subject: | Quickform 'cancel' submit button | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6046@lists.php.net to get a copy of this message | ||
Hello,
I have a quickform complete with javascript rule validation checks.
I've got two submit buttons on the form - one to submit the values and
another to cancel the form and go back to another page.
I usually name the submits buttons the same, to get them passed as an array,
then check the value of the posted attribute.
However I am unable to cance lthe form because the javascript validation
gets executed first. How can I allow for a cancel action button on a
quickform?
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
________________________________________________________________________