cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Workflow Hero

Trigger form validations via Javascript

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?

0 Kudos
Reply
3 Replies
Workflow Hero

Re: Trigger form validations via Javascript

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

Jan

Reply
Workflow Hero

Re: Trigger form validations via Javascript

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?

Reply
Workflow Hero

Re: Trigger form validations via Javascript

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

0 Kudos
Reply