W
WJ
I have a form that has one textbox control and one textarea.
Through experimentation, it occurred to me that, when there is
only one textbox, pressing the ENTER key submits the
form. If I have two or more, it won't do this.
Is there a way in HTML (or other mean, such as script)
to disable this?
I have scripts that run on the keypress
events of certain buttons. Having to roll the functionality
into an onSubmit() event of the form is really going to be
a pain.
Through experimentation, it occurred to me that, when there is
only one textbox, pressing the ENTER key submits the
form. If I have two or more, it won't do this.
Is there a way in HTML (or other mean, such as script)
to disable this?
I have scripts that run on the keypress
events of certain buttons. Having to roll the functionality
into an onSubmit() event of the form is really going to be
a pain.