Form Posting on Enter
How can response form "Post"ing be prevented when "Enter" is pressed by mistake before the "Submit" button is clicked?
I have a response form which is "Post"ed using a "Submit" button to an .asp page for processing in the normal way.
However, during testing I have discovered that pressing "Enter" in error half way through field completion causes the form entry to truncate and the form to be "Post"ed prematurely.
Is there any way to prevent this happening until the "submit" button is clicked?
Regards
Roger Sansom
Comments
Form validations
You must me logged in to write a comment.