Take quiz twice fail then take module over - how to create navigation for this

I have created a 10 question quiz with the test tool. I want to give the learner 2 tries to get it right, but to get the second try they must answer all questions. I have set the score to 80%. On the first try, if they fail, they go back to the quiz to retake it. On the second fail they must take the course over from the beginning. I have the course set up with a pass page that takes you to a congrat page you have completed the course with a score of 80 or greater. I can't figure out how to give the learner two tries on the fail page then they are directed back to the beginning of course. Both of these work on a single fail. Have read all the comments on the forum regarding it but none seems to talk about creating this type of navigation in Lectora 11. Any advice greatly appreciated. I realize there are similiar threads to this but none discuss the newer version and this type of navigation. I am new to Lectora 11 have used X several yrs. ago.

Discussion (4)

Hi Elissa,

In this situation I would create a variable that increments every time the learner gets to the Fail page. When they reach the Fail page (whether it is their first or second time) I would have them click a button to continue. The first time they would be redirected to the beginning of the quiz. Once they reach 2 or more visits, you can have them redirected to the beginning of the course.

Hope this helps!

I have created a Single Fail page with 2 Fail Groups - FailGroup1 which is supposed to direct you back to the Knowledge Assessment and FailGroup2 which directs you to the beginning of the course. Dr. Lectora was kind enough to give me instructions on how to perform this, but I believe I copied down the directions incorrectly or perhaps I am creating the VAR incorrectly or putting the actions in the wrong place. In any case I haven't been able to get it to work.

I know I have created the groups right my problem it's getting the actions to perform properly. Here is what I copied down - any feedback on where I went wrong is greatly appreciated.

1. On Fail Page created two Fail groups that grouped together the text feedback, score holder and button for two separate Fail Grops and made them both initially invisible.

2. (Here is where I need help). Create a VAR that shows FailGroup1 or FailGroup2 depending on if its the 1st or 2nd try through the course.

3. Insert an action on Fail Page that:

a. On Show Show Fail Group1 add a condition to FailGroup1 with an initial value a if = to y

b. Create a second action that if VAR = n the FailGroup2 button will Show to take you back to the beginning of course.

c. Create an Else action that shows FailGroup?

d. On page create an OnShow ModVAR target b=y.


I've tried this and put all of these on the fail page but it is not running right. I thought that when you create actions, it is a best practice to put the OnMouseClick go to page last so all the other actions are triggered correctly.


I appreciated any feedback to correct the order of the actions.

If you have created a variable to store the number of fails (e.g. number_of_fails, initial value = 0) add an action on page level of the Failed page:


On: Show

Action: modify variable

Target: number_of_fails

Value: 1

Type: add to variable


Each time the user comes to that page the variable is increased by 1


Next action on page level


On: show

Action: show

Target: failgroup_1


Condition: only if number_of_fails equals 1


Else:

Action: show

Target: failgroup_2


When the user comes to the failed page the first time, the value of the variable is 1 and group 1 is displayed. In any other case the value is greater than 1 and group 2 is shown.


Tim

:)Thank you for your quick response. It worked perfectly!


Lisa

Discussions have been disabled for this post