The .hideoptions and .showoptions operators can be used to hide or show some of the answer options for a specified question.  For example, you can decide to hide some of the options of a question depending on the answer to another question:

ifQ(10)                        // if question 10
.answered(4)                   // was answered with answer option 4
.hideoptions( Q(20), 4, 5);    // hide answers 4 and 5 of question 20

The syntax is to list the QId of the target question, then list one or more  intergers representing answer options for example: (Q(20), 4, 5). Hides answer options from radio, pulldown, and multicheck question types. If either hideOptions or showOptions is used, the opposite will occur if the rule evaluates to false. So "hidden" options are initially shown until the rule is true, and will return if the rule conditions ever change in a way that cancels the truth of the rule.


.hideOptions

ifQ()
.countryIs("UK")
.hideOptions( Q(31), 5, 6, 7 ); // hide options 5-7

.showOptions

ifQ()
.countryIs("UK")
.showOptions( Q(41), 5, 6, 7 ); // show options 5-7