Hi Xerte community,
Please can you help with this problem I am encountering.
In a Xerte I have a multiple choice quiz. There are two correct answer options and I have customised the MCQ so that if the end-user does not select the correct two answer options, then the 'Next' button is not active and the end-user cannot move forward to the next page in the Xerte until the correct two answer options have been selected.
Therefore the end-user can 'Retry' for a second, third or more attempts.
When playing the Xerte in the Xerte edit workspace I can retry.
But when the Xerte is played in the VLE as an end-user would do, I am not able to retry because the options are greyed out and they are not active to me. Also because I cannot select the two correct options, then I can not move to the next page in the Xerte as the NEXT forward arrow is not active (as I have set it up to perform like that, not move forward until correct answers are selected).
To customise the MCQ, I used the following code:
// JavaScript / jQuery
$("#checkBtn").click(function(){
if($('p').text().indexOf('Click next to continue.') != -1){
$("#x_nextBtn").button("enable");
}
});
This code has previously been provided to me by Xerte.
The settings in the MCQ.
Execute: First time page is viewed
Should that option change to Every time page is viewed?
Will that make a difference?
Save session button option is selected.
Partial work-around.
When I as an end-user am stuck on that MCQ page because I have not selected the two correct answers, and I can not retry, as the quiz answer options are not active thus available, and I can not move to the next page as Forward next arrow is not active, if I select the Save session button and close the Xerte, when I then re-open the Xerte I enter the Xerte on that MCQ page where I can then attempt that MCQ quiz again and if I get it correct I can move forward to the next page to complete the Xerte and the Results page is showing 100% completion.
So is a work-around for this problem encountered to provide instruction text to the end-user that if they do not answer the MCQ correct first time, select the save session button, close the window then re-open to continue the Xerte.
Please can you let me know fairly quickly if possible.
Many thanks in advance for your help, advice, solution, support.
Anne