Form submitting when I hit enter button

  • Profile Image
    Beverly
    Asked on July 12, 2013 at 09:31 AM

    Hello,

     

    Can you tell me please how I can disable my form from being submitted when a user hits the "enter" button on their keyboard?  This is causing the form to send prematurely.  I ONLY want the form to be submittable once the SUBMIT button at the bottom is clicked.

     

    Thank you for your assistance!

  • Profile Image
    Goldo
    Answered on July 12, 2013 at 09:56 AM

    Workaround is to set some field as required so that it throws an alert when they accidentally press the 'Enter' button.

    You can also try to use the code that can be found in here that involves source codes.