this is how to disable the Enter action on submitting a form, and forcing the user to click submit button
1 2 3 4 5 | <form name="formName" method="??" action="??"> <input /> <input value="Submit" onclick="formName.submit()" type="button" /> </strong> </form> |
No related posts.
Tags: button, disable, enter, form, html, JavaScript, submit.