Skip to main content
Nintex Community Menu Bar

Trigger form validations via Javascript

  • May 19, 2016
  • 3 replies
  • 85 views

Forum|alt.badge.img+6

Hey,

Does anyone know how to trigger the form's validations from jQuery (i.e. a Javascript button)?

I'm looking for a proper solution, not just using a save button and somehow forcing it to return false;

Using F12 dev tools on a save button I concluded that I had to use NWF.FormFiller.Functions.ProcessFormsValidation, e.g.

if (NWF.FormFiller.Functions.ProcessFormsValidation(this, 'NfValidationGroupListFormformFiller', function () { }))

but didn't have any luck with that...

I found a similar question here: Nintex Form validations not triggering when using Client Click, but none of the replies seemed to apply to my question...

Manfred Lauer​ any ideas?

3 replies

Forum|alt.badge.img+7
  • June 2, 2016

Have you seen this article? Custom Validation for Nintex Forms I've used this idea in a form and it works for me.

Jan


Forum|alt.badge.img+6
  • Author
  • June 3, 2016

Hey Jan,

That is indeed a good approach for Javascript validation, however what I wanted to see is if I could force trigger the Nintex Forms Validations themselves...

Do you know if that's possible?


rhia
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • March 16, 2017

Hey ‌ -- Were you able to find a solution to your issue?