How to avoid the form being submitted with the "Enter" key?

  • Profile Image
    Asked on March 15, 2016 at 12:04 PM


    Good Morning. I would like to clarify a question? It is possible to make the submit button only be activated with the click of the mouse? I do not want it to be activated with the enter button . It has caused me problems because some people click on enter to change course and is automatically sent the form.

  • Profile Image
    Answered on March 15, 2016 at 12:35 PM

    The best way to avoid your forms being submitted when pressing the "Enter" key is adding a captcha, you should add it at the end of your form so it will force your users to fill the captcha before to submit the form, this guide will help you with that:

    Hope this helps.