I want to create a constrain where if Orange is selected, Mango must also be selected. Likewise, if Mango is selected then Orange must be selected. Can anyone help how to write the syntax in XlsForm? thank you

I want to create a constrain where if Orange is selected, Mango must also be selected. Likewise, if Mango is selected then Orange must be selected. Can anyone help how to write the syntax in XlsForm? thank you

You could do the same as outlined in the image below:

Constraint.xlsx (11.4 KB)
Thank you sir for the quick response. What is the syntax if:
In this case, try this out:

Constraint.xlsx (11.4 KB)
Thank you very much Kal_Lam … You have helped me a lot