Wendy Smoak wrote:
You may also want to add a "hidden" button at the very top of the form, with
a value that causes your app to simply redisplay the form.

At least on IE, pressing enter in a text field will submit the form without
the user pressing _any_ of the buttons.  But IE will send the value for the
'first' button on the form.

This is especially fun if you don't realize what's happening, and the
'first' button on your form deletes something. ;)

By 'hidden button' do you mean a regular input w/ type=submit and CSS to hide it? Or is there another way to handle this? [I just went through changing the order of submit buttons in my forms to make sure the one I wanted came first in each case, hence my interest in alternative approaches ;-)]

L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to