• Hi!

    I want to disable the submit function when using “ENTER” key. I want people to only use the “SUBMIT” button.

    I have found this code <body onkeydown = “return (event.keyCode!=13)”>

    It disables the submitting using ENTER but it disables ENTER altogether.

    I still want people to be able to write paragraphe and to press ENTER to change lines.

    Is there a way to still use ENTER without submitting?

    Thank you !

    (rather noob here! I can play in the CSS and am familiar with HTLM but not with JQuery and JavaScript…)

    https://wordpress.org/plugins/contact-form-7/

  • The topic ‘Contact Form 7:Using ENTER to change line not to SUBMIT (do not want to DISABLE)’ is closed to new replies.