Has anyone successfully had a mutually exclusive option in their checkbox list? (ie, if you select option C, you can’t select option A or option B, but if you select option A, you can select option B as well?). Use case is simple: consider you have a list of diseases and the last option is “none of the above”. If you select none of the above, it should deactivate all the other options. But so long as you didn’t check “none of the above”, you can choose as many diseases as you need to.
Hi @howlingzoe
Yes, it is possible to create a mutually exclusive option in a checkbox list using Gravity Forms. Here is one way you can do it:
Create a checkbox field in your Gravity Form and add the options you want (e.g., option A, option B, option C, etc.).
Add a Custom CSS Class to the field. You can do this by going to the Advanced tab in the field settings and entering a class name in the Custom CSS Class field.
In your form’s Settings, go to the Custom CSS tab and add the following CSS code: