Conditionally allow checkbox to be checked? | Community
Skip to main content
Dory_Viscoglio
Level 10
March 12, 2014
Question

Conditionally allow checkbox to be checked?

  • March 12, 2014
  • 1 reply
  • 1029 views
We have forms on our CMS that allow us to say "if x checkbox is unchecked, then y checkbox cannot be checked". I've looked through the visibility rules in Forms 2.0, but don't want the option for checkbox y to disappear if checkbox x is unchecked, which appears to be my only option.

Has anyone been able to make a checkbox that can only be checked if some other criteria is true, while maintaining the checkbox field on the form?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

November 14, 2014
I would use javascript for this. Here is an article that will show your developer how to do this. 

http://stackoverflow.com/questions/2330209/jquery-checkbox-enable-disable 

Adding a similar code (targeting your checkboxes) in your landing page will do what you want.