Matching questions
July 8, 2009 12:00 AM
method 1 - lectora method
You can check the correct / not correct condition of each question variable and bypass that question if the variable is correct. So goto next page if question_0001 is correct, and so on. You can put an action at the top of each quiz page to do this. You also want to hide the question objects (intially visible un checked) unless they are going to see the question, then just show the question object. (It behaves as a group so you can hide/show with one action.) This way it will not flash the question objects if it bypasses the question.
Method 2 - javasecript/lectora combo
write out the incorrect question pages to an array, then read the array when you click the next button the second time through. check the array for the next incorrect question, and jump directly to that page. If they get it correct, remove it from the array. when the array is empty, they have completed all the questions correct. This method will prevent the user from having to wait as it goes through each page to hit the "is correct" action from method 1.
HTH
Dwayne
Marcus said:Is there any way of retaining the correct answers only. I have 10 matching pairs and would like them to get feedback after they have tried all 10 e.g. Have another go! and when they return to the question only the ones they got wrong remain open.
Discussions have been disabled for this post