user must click all buttons before "next" appears?

 I have done this often.


On the mouse click tab for each button, I send to run action group. For button 1 that would be Button 1 Actions.


In the action group I have an action that sets a variable, say button1_visited = 1. I add another action with a Go To that sends the user to the page you wanted them to go to.


I do this for each button. 


The next button then is given a condition that it needs all the buttonX_visited variables to equal 1 in order to go to the next page.


In fact, I have taken this even further and initially show a "disabled" state of the next button which is simply an image of the next button normally grayed out. This has no actions associated with it. The first action I have on the page level is an "OnShow" which looks to see if all of th ebuttonX_visited variables are set to 1. If they are the Next button shows, if not, the disabled image of the next button shows. If I do things this way I don't need to Run Action Group I just set the On Click tab to Go To next page for the Next button since I already checked the variables in order to show the next button itself.


 


paprikapapaya said:Hi everyone, I'm very new to using Lectora and I have a question. I want to make a page with multiple buttons that link to different pages of information. Everytime you read that piece of information, a button leads you back to the main index of buttons, so you can click on the next to view that information. Only when the user clicks ALL the buttons, do I want the "next" button to appear on the index of buttons page. I have seen it done in another Lectora module, but I can't figure it out.

Discussions have been disabled for this post