is it possible to create everytime a value for clicking on the same button

mmilo9281
Community Member Posts: 155 ☆ Roadie ☆
Comments
-
It should not be too difficult. Create a variable, e.g. "counter", initial value = 0
Add an action to the Next button above the "Go to: Next page" action:
On: Click
Action: Modify variable
Target: counter
Type: Add to variable
Value: 1
Add a condition to the "Go to: Next page" action:
Only if "counter" equal to 3
Not sure what you want to achieve. You might add another action to the button:
On: Click
Action: Modify variable
Target: counter
Type: Set equal to
Value: 0
Delay: 1 sec
This way the user would have to click fast to reach the next page or start again. Or you probably need another approach to reset the variable, e.g. when the page is shown. -
Yes, Marcel. If you establish a variable to track the number of times a button is clicked you can use a conditional action to go to the next page when the variable equals 3. You can copy and paste the button onto other pages; just make sure you reset the variable to zero on page show.
-
Suggested change to Tim's reply. Change the condition from '3' to '2' if you want to monitor for 3 clicks. The variable is at '2' when one clicks the button the third time. Otherwise, the action won't trigger until the fourth click.
Add a condition to the “Go to: Next page” action:
Only if “counter” equal to 2 -
-
hey Darrel, i tried your button title, it works fine :-)
can i also use this in a quiz as "submit button". The user has 3 attempts and after the third wrong attempt, he jumps to next site. i cant use the normal attempt settings, because i put a Qreset action to the submit button in the quiz and this action also reset the counter of attempts.
thx for your time guys -
It can be done, although the users may not like being pushed on to the next page without any comment about the incorrect answer. It may be nicer to show feedback and let them advance themselves.
But still: -
Hi Tim, i have build Feedback for the quiz. What do you mean, does this works? :-)
greetings marcel
Categories
- 35.8K All Categories
- 108 ✫ 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