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

Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution

I created an onboarding form in Nintex which I need to have a checkbox (outlined in the below) be required when the user changes the form status from Open to Completed. 

Attestation.jpg

Labels: (1)
0 Kudos
Reply
16 Replies
Highlighted
Nintex Employee
Nintex Employee

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution

Hi,

All that would be required would be to have a rule on the Check Box. In my rule "Status" is the name of the control which has the choice.

equals(Status,"Completed")

Please see my sample form attached if required.

0 Kudos
Reply
kthornton
Nintex Newbie

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution

I added that into a rule for the checkbox, but it doesn't make it required if the status equals Completed.  It still allows me to save the form without checking it.

 

I wasn't able to open your example, but I've included a screen shot of the rule I setup as you recommended.  Clearly, I am missing something. Smiley Happy

  Attestation_Rule.jpg

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution
Hi,
The rule type needs to be Validation and not Formatting.
Reply
kthornton
Nintex Newbie

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution

Hi again,

 

Thanks for the clarification.  I switched it to validation and then added an error message for users.  It triggers appropriately on the form, but won't let me save it once I check the Yes box.  Screen shot included.

 

Attestationv3.jpg

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution
Hi,
What is the rule that you are using now?
What was the issue importing my test form?
Can you provide an export of your form?
0 Kudos
Reply
kthornton
Nintex Newbie

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution

Hi - below is a photo of the rule.  When I tried to open your zip file it opened as an HTML and I couldn't decipher what it was saying.

 

Attestation_v4.jpg

 

 

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution
Hi,
To view my sample form you will need to unzip it.
Then in SharePoint open the Nintex forms designer and select Classic Form.

From the ribbon click import and then import the file you extracted from the zip.
You can now bring up the rules panel and see how I have configured things.
Preview the form to test or publish and test on your list.
Your rule looks correct but it may not be associated to the correct control.
Following the process above you can open your form in the Nintex forms designer and click the Export button from the ribbon to export your form. Save it and zip it and attach it to a post on this thread and I can look at it for you.
0 Kudos
Reply
USMCdave
Nintex Newbie

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution

The green check to the right of the rule name indicates it's associated with any controls selected on the left.  If any field other than the checkbox is selected, it won't work (even if the checkbox is ALSO selected).

Try deleting the rule, then selecting the checkbox only, them recreating the rule.

0 Kudos
Reply
kthornton
Nintex Newbie

Re: Need a Yes/No Checkbox to be required based off column list field selection

Jump to solution

Hello,

 

I was able to import your example; however, I still had the same issue with the form not saving even if I check the Yes box.  You can see in the screen shot below that even when I select Completed for the Status and check the Yes box, it still shows as an error and won't save the form.

 

Nintex Rule.jpg

0 Kudos
Reply