rfritz
Novice

Requiring a Yes/No Checkbox when specific selection is made from dropdown

Within my Nintex form, I have a dropdown. If someone selects "Closed - Wrong Number" I want them to be required select at least 1 of 3 Yes/No boxes.

 

My current condition:

and(equals(1stAttempt,"Closed - Wrong Number"),(PrimaryPhoneInvalid !="Yes"))

requires the field, but selecting the box doesn't satisfy the condition so the form won't close. Due to this, I haven't attempted to add the other two boxes.

InvalidNumber.png

0 Kudos
Reply
3 Replies
emha
Collaborator

Re: Requiring a Yes/No Checkbox when specific selection is made from dropdown

yes.no checkboxes evaluate directly to true/false boolean value, you need not to compare them to anything.

so you your formula should look like 

and(equals(1stAttempt,"Closed - Wrong Number"),not(PrimaryPhoneInvalid))
0 Kudos
Reply
rfritz
Novice

Re: Requiring a Yes/No Checkbox when specific selection is made from dropdown

Thank you, that worked.

 

Any idea how to allow 1 of 3 of checkboxes to be checked?

 

and(equals(1stAttempt,"Closed - Wrong Number"),not(PrimaryPhoneInvalid OR PHONE2INVALID OR PHONE3INVALID))

I know what I have is not valid, used only for example.

 

0 Kudos
Reply
emha
Collaborator

Re: Requiring a Yes/No Checkbox when specific selection is made from dropdown

you almost did it 🙂

 

try

and(equals(1stAttempt,"Closed - Wrong Number"),not(or(or(PrimaryPhoneInvalid,PHONE2INVALID),PHONE3INVALID)))

0 Kudos
Reply