How to Disable “Enter” action to submit a form

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>

Comments

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">