cancel
Showing results for 
Search instead for 
Did you mean: 
miketrourad
Nintex Newbie

Submit Form Validation

Jump to solution

This is piggy backing off a prior post about validating an attachment control for illegal characters. (illegal characters in attachment name ? )

In the Nintex 2013 form (attached) I am calling a routine to validate if the attachments in the form contain any illegal characters. If so it will highlight said file and throw an alert to the user explaining the issue.

The problem is unless there are no other invalid controls the form will submit. I need to to set the form as invalid and all the other validation in the form needs to run as well.

Any ideas?

Mike Trouard

Reply
2 Replies
fhunth
Nintex Newbie

Re: Submit Form Validation

Jump to solution

Perhaps on your validation action you could set a Calculated Value Control that has a validation rule:

For example write a validation rule that says if the value equals "1" , the form is not valid. So you must set this control to "1" on your script.

View solution in original post

Reply
miketrourad
Nintex Newbie

Re: Submit Form Validation

Jump to solution

Fernando-

I thought about doing exactly that but I was hoping for a one liner that would have resolved it in the JavaScript/jQuery.

I did apply you suggestion and it worked.

Mike Trouard

Reply