Comment desactiver la touche entrer

  • Profile Image
    bennesservices
    Asked on September 03, 2013 at 08:21 AM

    Comment desactiver la touche entrer lorsque l'internaute ramplie le formulaire et appuie sur entrer alors qu'il n'a pas fini de remplir son formulaire?

  • Profile Image
    Welvin
    Answered on September 03, 2013 at 09:50 AM

    Hi,

    Good day! A possible way to prevent that is making your form fields as "Required".

    OR, get your form source codes: How to Get Form Source Codes then add a Javascript Codes to the source that would prevent Enter Key from triggering the form to submit.

    You can get the Javascript Codes here: http://pastebin.com/YLazbvaQ. You should add this codes just before the closing </form> tag:

    Let us know if you need any further assistance implementing this workaround.

    Thanks