Controlling the Next Button with variables

snortz
Community Member Posts: 2
Hi,
I'm fairly new to this community. I'm sure this problem has come up in these forums but I can't find anything so please excuse me if this appears too simple.
I have a course where the next button sits at the AU level and filters down to all the pages. On one of the pages I've placed a action to hide the next button until all of the questions are answered. The questions are placed in such a way that it was meant to be answered quickly with immediate feedback popups.
A variable was created so that when you answer a question it adds a a number to the variable and when it reaches 4 it shows the next button. It works great except when you go to the next page, or back page, and then return to this page, then all of the questions have been answered and there is no Next button.
How can I get the Next button to stay on the page when the user moves to another page and returns? Under normal circumstances I don't think this is likely but it will be a problem for the user if they decide to return or accidentally move press the wrong button to move forward or back.
Thanks.
I'm fairly new to this community. I'm sure this problem has come up in these forums but I can't find anything so please excuse me if this appears too simple.
I have a course where the next button sits at the AU level and filters down to all the pages. On one of the pages I've placed a action to hide the next button until all of the questions are answered. The questions are placed in such a way that it was meant to be answered quickly with immediate feedback popups.
A variable was created so that when you answer a question it adds a a number to the variable and when it reaches 4 it shows the next button. It works great except when you go to the next page, or back page, and then return to this page, then all of the questions have been answered and there is no Next button.
How can I get the Next button to stay on the page when the user moves to another page and returns? Under normal circumstances I don't think this is likely but it will be a problem for the user if they decide to return or accidentally move press the wrong button to move forward or back.
Thanks.
Comments
-
Try making the action that hides the Next button on that page conditional:
- Click the action in the title explorer.
- Click the Always button. You'll see the Set Action Conditions screen.
- In the Variable column, pick your variable from the list.
- In the Relationship column, pick Less than.
- In the Value column, type 4.
- Click OK.
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 5 The Training Arcade®
- 5 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products