cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Add validation to a textbox if yes/no checkbox is checked

Jump to solution

hey all,

I've got a yes/no checkbox and if it's ticked it unhides a textbox for data entry. I want to make the textbox require validation if the checkbox is ticked only.

can anyone help with how i do this? I've tried playing with the validation settings on the textbox but can't seem to get it to work.

Labels: (2)
0 Kudos
Reply
3 Replies
Workflow Hero

Re: Add validation to a textbox if yes/no checkbox is checked

Jump to solution

Hi

I created a quick test.  Custom list with two additional columns:

  • "Checkbox" - Yes/No column - Default No
  • "Textbox" - Single Line of Text

Edited form in Nintex Forms

chose textbox control > add rule > validation

Condition:

and(Checkbox==true, isNullOrEmpty({Self}))

Validation.PNG

Reply
Not applicable

Re: Add validation to a textbox if yes/no checkbox is checked

Jump to solution

thank you so much! that's perfect!

Reply
Workflow Hero

Re: Add validation to a textbox if yes/no checkbox is checked

Jump to solution

I have something similar, I don't know how achieve this task as I am new to this. Any help would be highly appreciated.

I have first checkbox as YES/NO (Name: NA), trying to create a rule where automatically all the options (NameSmiley Surprisedptions) below automatically go uncheck when somebody clicks on this first "Not Applicable". If it could hide all the below options after clearing that would be great but not requirement. Definitely clearing them out is requirement.

Is there anyone who can help me with this. Thank you.

Yes/No for a Rule

0 Kudos
Reply