Nintex Forms :
Suppress firing of validation rules on the click of ‘Save’ button :
By default, Nintex forms ‘Save’ and ‘Save and Submit’ type buttons cause all the validation rules to be
fired. However, the requirement was to bypass all validation on the click of any of these 2 buttons so
that the form can be saved at any point of time to allow user to complete the form later. In order to do
this, some JavaScript was added in the control settings for the ‘Save’ button.
In the ‘Client Click’ property of the button under ‘Advanced’ section, a statement ‘return true;’ was
added. This allowed the form to save values of all controls without any validation.
By default, Nintex forms ‘Save’ and ‘Save and Submit’ type buttons cause all the validation rules to be
fired. However, the requirement was to bypass all validation on the click of any of these 2 buttons so
that the form can be saved at any point of time to allow user to complete the form later. In order to do
this, some JavaScript was added in the control settings for the ‘Save’ button.
In the ‘Client Click’ property of the button under ‘Advanced’ section, a statement ‘return true;’ was
added. This allowed the form to save values of all controls without any validation.
Comments
Post a Comment