Resetting Check Boxes
You have a couple of issues here - a) how to get the message to show and b) how to reset the check boxes. This is intermediate level Lectora stuff. Here goes.
a) How to get the message to show
An HTML page is static. You can't put actions on a text box to have it show when you change something else on the screen. The actions on the text box only fire when it is either shown or when clicked. So, you have to put these actions somewhere else.
You will have to be testing for which check boxes are set and which are not. The answer variable in Lectora questions contains the text you entered in the wizard. If you try testing for that text it can be a very laborious task.
If it were me I would change the approach to the question like this. First copy all the answer choices and put them in ONE SINGLE text box with a blank line between each one. I would then replace the answers in the wizard with a, b, c, d, ... Now you can easily set up conditions to see if the question variable contains a or b or c or d. ...
Now set up an action group that counts the number of incorrect answers. If more than the desired number, show the text box. To get this action group to run, you have to do one of two things: Either put these actions on a Check Answer button or open the properties of each check box and on the On Select/Change tab set it to run the action group. These actions look like this.
Modify Variable; Target: count; Value 0; Type: Set
Modify Variable; Target: count; Value 1; Condition: Question_xxxx contains a; Type: Add
Modify Variable; Target: count; Value 1; Condition: Question_xxxx contains b; Type: Add
Modify Variable; Target: count; Value 1; Condition: Question_xxxx contains c; Type: Add
Show; Target: text box; Condition: count > 3
b) Reset Checkboxes.
With Lectora X this is easy as all you do is
Modify Variable; Target: temp; Value: (leave blank)
Change Contents: Target: Question; Value: temp
For Lectora 9 you have a much more complicated solution involving refreshing the page. Please email me at [email protected] to set up a time to call on the phone and discus this.
So You Wanna Be An eLearning ROCKSTAR?
- 4.5K All Categories
- 35 ✫ Announcements
- 5 ✪ Contests
- 33.6K eLearning Brothers® Products
- 33.3K Lectora®
- 31.3K Lectora Discussions
- 1.9K Lectora Feature Requests
- 57 Lectora User Groups
- 2 AssetLibrary™
- AssetLibrary Discussions
- 2 AssetLibrary Feature Requests
- 229 CenarioVR®
- 128 CenarioVR Discussions
- 101 CenarioVR Feature Requests
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- 108 CourseMill®
- 101 CourseMill Discussions
- 1 The Training Arcade®
- 1 The Training Arcade Discussions
- The Training Arcade Feature Requests
- 7 Additional Learning Products
- 2 Adobe®
- 2 Articulate®
- 1 Camtasia®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 894 All Things eLearning
- 4 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 5 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 544 Learning Management System (LMS) Integration
- 2 Mobile Learning
- 2 Visual Design
- 323 Web Accessibility
- 1.2K ♪ The Green Room
- 4 ♡ Community Feedback
- 7 Community Tips