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.
Solved! Go 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.
I did apply you suggestion and it worked.