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

I cannot find an explanation on the Causes Validation button control setting (Yes, No, Expression)

I have exhausted my search in trying to understand what CAUSES VALIDATION even means?? I cannot find explanations for the 3 options--Yes, No, and Expression. I'd like a description (with examples) of what they each mean and how/why they are used. The Help is not helpful at all!

I have a Save and Submit button and one required field on the form. I also have a confirmation message--is this related to the CAUSES VALIDATION setting? (OOTB Tutorials says: Although there is an option on Nintex Forms Buttons to allow you to setup confirmation messages, this setting should only be used if Causes validation is set to No.) So I'm not sure if I should set the CAUSES VALIATION to No or Yes--I've tried both and there doesn't see to be a difference.

0 Kudos
Reply
3 Replies
Nintex Employee
Nintex Employee

Re: I cannot find an explanation on the Causes Validation button control setting (Yes, No, Expressio

Hi,

 

It sounds like we are talking about the validation > required choices here.

SLTVal.png

If Set to "No" there is no validation on the control and its not required and can be left empty at the time of submission.

If Set to "Yes" the control has to have contents in it before the form can be submitted or a validation error will occur.

If set to "Expression" this lets you put a condition in so that at certain times the control needs to have content but at other times it does not.  Example would be to add "Is New Mode" as the expression.  This would mean that the control requires contents when a new item is being submitted but if you edit the form afterward and clear the contents there will be no validation error.

 

I have attached an example form the shows the difference for the options.

 

 

0 Kudos
Reply
bbenfield
Nintex Newbie

Re: I cannot find an explanation on the Causes Validation button control setting (Yes, No, Expressio

This does not answer the question about Causes Validation. The example shows how to configure validation but what's the purpose of the Causes Validation selection on a button? You can change it to 'No' but that has no impact - when you click that button it still performs validation. 

 

If you have a long form that users want to fill out over time before submitting, you should be able to have a Save button that does not require validation, and a Save and Submit button that performs validation. Otherwise, users can't press either save button until all data is filled out. So, back to the original question - is there an explanation on the purpose of this specifice option in a button control?

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: I cannot find an explanation on the Causes Validation button control setting (Yes, No, Expressio

Hi,

If a form needs to save without validation use the Save and Continue Button action. Columns configured as required in SharePoint will still need to be completed but validation rules will not trigger or if a control is configured as required it will also not need to be completed.

If you have a long form you may want to checkout Nintex's new Responsive designer which allows you to divide the form up into pages.
0 Kudos
Reply