Skip to main content
Nintex Community Menu Bar

Enter Equals Submit Form?

  • Mar 8, 2017 6:17 PM UTC
  • 3 replies
  • 24 views
  • Translate All

kmccool
Forum|alt.badge.img+9

Hey everyone, I'm having issues with users pushing enter (instead of Tab) after filling in fields and the form isubmits before they complete it. How do I change this setting so the user has to physically click the submit button for the form to submit?

Thanks

Kassie

3 replies

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • Mar 8, 2017 6:51 PM UTC

Hi there!

I found this answer in the community that may help you:

https://community.nintex.com/message/27748

Let me know if it does!

Cheers,

Rhia

Translate

Forum|alt.badge.img+7
  • Nintex Partner
  • Mar 8, 2017 7:30 PM UTC

Dear Kassie McCool‌

Use the following script:

NWF$("form").bind("keypress", function (e) {
if (e.keyCode == 13) {
  return false;
}
});

Cheers... happy.png

Translate

Forum|alt.badge.img+6
  • Mar 14, 2017 1:20 PM UTC

This worked for me thank you. For newbies...you enter this code into the Form Settings under Custom JavaScript.

Translate