In an OpenTBS situation, I'm trying to use conditional blocks to check against each individual option/answer that a user selects in a checkbox field in a form whose data is being used to insert the conditional content.
I've asked you about this previously, here Can a 'when' conditional section show content based on a 'contains' or 'includes' parameter? , and you kindly gave me a suggested solution.
Unfortunately my developers could not get it working. I wonder if there's another way. For example, can one target a specific checkbox option in a checkbox field to query whether it is checked or unchecked, using a conditional block?
Let's say I have this checkbox field in my form:
Select the kinds of personal information you collect
- Name
- Address
- Phone
- Date of birth
- Age
Is it possible to target each choice individually with a conditional block, to check whether it has been checked/selected or not, e.g., along these lines:
[onshow;block=begin;enlarge=tbs:p;when [var.Select the kinds of personal information you collect_Name]=!'']
Name
[onshow;block=end;enlarge=tbs:p]
If this is possible, I could insert conditional content per selected option, regardless of whether other options are also selected.
Any help much appreciated. Thanks very much.
Richard