Hi everyone,
I wanted to check with the community and see if there is a way to turn off the submission of forms when a user hits Enter?
We're creating a 'Contact Us' form and the field that allows users to freely type their message only allows new breaks in a message by using "Shift + Enter". By the time the user figures out Enter does not create a new line, the form is submitted.
Anyone experience something similar or find a way to bypass this?
Thanks in advance for the help!
Solved! Go to Solution.
Some Javascript should do the job :
http://stackoverflow.com/questions/895171/prevent-users-from-submitting-form-by-hitting-enter
Alternatively you could add a rich text field to your form to give them a warning or an instruction to use shift+enter to line break.
Some Javascript should do the job :
http://stackoverflow.com/questions/895171/prevent-users-from-submitting-form-by-hitting-enter
Alternatively you could add a rich text field to your form to give them a warning or an instruction to use shift+enter to line break.