Hi Andrew I believe your first submit button as the HTML appears is the default.
Do this mean your cancel button is before your submit button? Seems strange.
Adam
-------- Original Message -------- From: Andrew Hill <[EMAIL PROTECTED]> To: Struts <[EMAIL PROTECTED]> Subject: [XHTML] Default submit button Date: Fri, 12 Sep 2003 13:18:51 +0800
Hopefully a quick & simple question: my page has a Cancel and a Submit button, both of which are input fields of type submit. At the moment the cancel button appears to be the 'default' - so I have to explicitly click save to save instead of just anyhow hitting the enter key. How to make Save the default button?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

