Skip to main content
Nintex Community Menu Bar

Enter Equals Submit Form?

  • March 8, 2017
  • 3 replies
  • 12 views

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
  • March 8, 2017

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


Forum|alt.badge.img+7
  • Nintex Partner
  • March 8, 2017

Dear Kassie McCool

Use the following script:

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

Cheers... happy.png


Forum|alt.badge.img+6
  • March 14, 2017

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