I have a survey on a website, and there seems to be some issues with the users hitting enter (I don\'t know why) and accidentally submitting the survey (form) without clicki
A completely different approach:
in the form will be activated on pressing Enter.style="display:none;false, which aborts the submission process. to submit the form. Just return true to cascade the submission. or other form controls will behave as normal. form controls will trigger the first , which returns false, and thus nothing happens.Thus: