On Mon, 8 Dec 2003 14:50:54 +0200, "lallous" <la*****@lgwm.org> wrote:
Hello,
Don't put a button of type 'submit' then on the button that you want to have
the form submitted, have its type as type='button' and onclick handler as
onclick='this.form.submit()'
Which means that anyone without Javascript is completely unable to use
the form. Welcome to my new page:
http://www.xs4all.nl/~sbpoley/webmatters/formval.html
Perhaps the best response to the OP (whose question has been lost
because you turned it into a sig) would be to ask why he wants to
prevent a user from submitting using the Enter key. What actual problem
is he trying to solve? Some users prefer to use the Enter key, after
all.
--
Stephen Poley