Try to submit this form using the Enter or Return key.
Form Block
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Good to know

This is will affect all forms in your page or site. This script only prevents the Enter key action on input and select elements, not textarea elements, so users can still use Enter to create new lines in textarea fields.