Next Button

mmalhotra-9265
Community Member Posts: 416 ✶ Headliner ✶
Hi,
1. In the attached file, I want the status of NEXT button as disabled till user clicks all the 3 tabs. However, NEXT button enables on just one click.
2. Also, I seem to have added lot of ACTIONS in the file.
3. Is there a better approach to make the project file neat.
Regards
Malvika
1. In the attached file, I want the status of NEXT button as disabled till user clicks all the 3 tabs. However, NEXT button enables on just one click.
2. Also, I seem to have added lot of ACTIONS in the file.
3. Is there a better approach to make the project file neat.
Regards
Malvika
Comments
-
@carlfink - I tried adding Mint and Basil too but some action somewhere is going wrong.
-
Well, for one thing, you have an action that sets the Next button to Disabled, but it never actually works. You have an If condition:
So, the button will be set to Disabled if none of those variables have been set.
But look at the way the variables are defined:
You set them to those values initially! So the If condition will never be met, and the Next button will never be disabled.
I tried setting the Next button to "Initially disabled" in its Properties.
Do you see the problem in this image?
You have tested the _Mint variable twice, and never tested the _Basil variable at all. But _Mint will never be "C" because your Action sets it to "A". Therefore, the If conditions are never met, and the button is never set to Normal.
So I'd set the initial values of the variables to something different ("X"), and fix the conditions on the OnMclkSetState Actions. -
@carlfink -Got your point.
Check this file now. Have removed the MINT duplicacy. -
@mmalhotra-9265 , you didn't fix the initial values of the three variables. Look at my previous message, and learn to use the Variable Manager (Tools >> Variables).
-
@carlfink - Have set the initial values. Trust this is right approach now.
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