Forum Discussion
Text Entry - Freeform Pick One - trouble with complex triggers
Oh! Interesting to use javascript as a solution and I agree with all the above :-)
Depending on the problem, I've found using variables with multiple triggers works as well.
I would create two T/F variables and 3 separate triggers - one for each of the response boxes to change a T/F variable to true when the correct response is entered (EntryDiaOD_1 looses focus) and then a third trigger to change the state to "correct" when the user clicks submit given the condition if both T/F variables are "true."
This will also allow you to tailor the feedback to the learner's response if they are partially correct- IE if they enter OD_1 correctly but OD_2 is incorrect, you could add an option to show a state of "almost" or show a tool tip about what to change.
It looks like the trigger wizard is showing the level or order of the "and" statement for the "Won't work" image as paired with ".0081" instead of ("0.0081 or ".0081") and ("0.0051" or ".0051"). I'd be interested to see if this is the cause of the issue and if this can be remedied using Javascript.
Related Content
- 9 months ago
- 11 months ago
- 9 months ago
- 10 years ago