|
|
Q235 How can I submit a form which has more than one text field by just pressing enter, but how do you make everything work if the user isn't running javascript?
irt.org | Knowledge Base | JavaScript | Form 7.1 | Q235 [ previous next ] Q235 How can I submit a form which has more than one text field by just pressing enter, but how do you make everything work if the user isn't running javascript?The following allows the form to function when JavaScript is not enabled. It does require the user to hit the submit button to actually send the form:
The two forms are turned into one by the end of the first form and the beginning of the second form only being output if the browser supports JavaScript. If JavaScript is disabled then the form functions as normal - but it doesn not submit the form when you press enter. Feedback on 'Q235 How can I submit a form which has more than one text field by just pressing enter, but how do you make everything work if the user isn't running javascript?' |
-- div -->
|