Creates a single-condition branching rule that shows or hides a survey item depending on the value of a preceding item. Only single-condition rules are supported. Multi-condition AND/OR logic is planned for a later release.
Arguments
- item_id
Character. The
idof the item whose visibility this rule controls.- depends_on
Character. The
idof the item whose response value triggers this rule.- operator
Character. The comparison operator. One of
"==","!=","%in%",">",">=","<", or"<=".- value
The value to compare against the response to
depends_on. For"%in%", supply a character or numeric vector.- action
Character. What to do when the condition is met. Either
"show"(default) or"hide".