Stop form submission when enter is pressed while typing in text input
H
Hugh (Product Support Manager)
Prevent a form from being submitted when the enter key is pressed while a user is typing in a text field in a form.
H
Hugh (Product Support Manager)
Merged in a post:
問い合わせフォームでの
DAISUKE SAEGUSA
問い合わせフォームについてですが、
訪問者が氏名やメールアドレス、問い合わせ内容の欄でエンターキーを押すと、改行されずに送信ボタンが押されてしまいます。
必要事項が未入力の場合は送信されませんが、ユーザーにとって非常に使いづらいフォームになってしまっています。
ページ内でエンターキーを押しても送信扱いにならないようにする設定や方法はありませんでしょうか。。?もし改善策があれば教えていただきたいです。
応急対応として
「エンターキーで送信されてしまうので、先に問い合わせ内容を入力してください」などと書いています。
よろしくお願いいたします!
H
Hugh (Product Support Manager)
Merged in a post:
Adjust 'Enter' Key Functionality in New Text Area Widget
Christopher James
In ClickFunnels 2.0, the new text area widget in our contact forms is currently designed to trigger form submission when the 'Enter' key is pressed. This can be disruptive to users who expect to create a newline instead. We propose a modification to this default behavior to enhance user experience by allowing 'Enter' to create a newline within the widget, while form submission should only be triggered by an explicit button click.