Text entry problems - input doesn't save, for some

Mar 26, 2021

I have created a course where 4 of the slides contain 1 text entry each. I have one variable per text entry, which is set equal to the typed value when the text entry loses focus. I then have a summary page in the end with 4 buttons, showing 4 layers. On each layer is a text box containing each variable (%example%) from the typed answers. The summary also has a button which executes a javascript that generates an e-mail draft, collecting the data from the 4 variables (+ one with the typed username). The course is reported as complete when the user clicks the last forward-button, leading up to the last page. The course is set to always resume when the user returns.

So, to my problem - For some of our users, their typed input text is not saved. The claim they have filled in the text boxes, progressed through the course as intended, and successfully received a passed status in the LMS. But when they resume, their answers are gone - in one, two or more of the 4 text entry boxes. We also have many users which this all works well for. We have checked the course contents of each user, and it's about 50/50 - of those who have data in all 4 boxes and those who are missing some. Also, when they resume they seem to not turn up at the last page (as they should, since that's where they closed down the course window), but on a page right before or on the question where they are missing data. 

We have investigated, tested and tried to find reasons for why this happens. It's quite a problem, and a very urgent one for us. 

I sincerely hope you will be able to help us work out how to solve this. 

Thanks in advance!

/Jessica

 

If relevant, here is the javascript used: 

var player = GetPlayer();

var email = '@address.com';
var pass = player.GetVar('example1');
var subject = 'subject';
var emailBody = 'Question1:' + player.GetVar('example1') + 'Question2:' + player.GetVar('example2') + 'Question3:' + player.GetVar('example3') + 'Question4:' + player.GetVar('example4');
var mailto_link = 'mailto:' + email + '?subject=' + subject + '&body=' + encodeURIComponent(emailBody);
win = window.open(mailto_link, 'emailWin');

Be the first to reply