[thelist] Another submit button for cancel

Bird, Graham Graham.Bird at rspb.org.uk
Wed Dec 15 03:55:55 CST 2004


Hi,

I have a form on which I want to provide a Cancel button.

My current idea is to have a second submit button (valid under W3C specs)...

<input type="submit" name="submit" value="Send" />
<input type="submit" name="submit" value="Cancel" />

and send the user back to the page they came from if the submit value =
"Cancel".

Is this a good idea, or am I stumbling blindly into a world of pain?

Cheers,

Graham

...


More information about the thelist mailing list