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
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Ruben Sargsyan Recent comment authors
  Subscribe  
Notify of
Ruben Sargsyan
Guest

This method doesn't disable "Enter" action. Add onsubmit="return false;" (<form name="formName" method="??" action="??" onsubmit="return false;">) and it will be disabled.