Forum Discussion
MeganKite
11 months agoCommunity Member
True/False Variable - Conditions Help
I've watched a T/F Variable on-demand training and skimmed the discussion boards, but I haven't found exactly what meets my need. I'm building in a knowledge check (I used the "Pick Many" freeform q...
PhilMayor
11 months agoSuper Hero
I don't think you should use true false variables. The simple answer is to add text to the question "Select two answers" if they select more than or less than then they are wrong.
If you want to enforce two, then I would add a counter, create a variable (counter). Create a layer (Check)
On the layer add triggers
set counter to 0
add 1 to counter if option 1 = selected
add 1 to counter if option 2 = selected
add 1 to counter if option 3 = selected
add 1 to counter if option 14 = selected
Submit if counter = 2
Show layer "Select 2" if counter ≠2
ON "Select 2" layer add instructions to select only 2
On submit button change trigger to show layer "Check"