This is an old question, but the answer is that "EndCurrentSurvey” is a quota setting. (It tells Qualtrics to end the current survey when the quota is met.) Quotas is one of the features that are not compatible with the offline survey app. The solution therefore is to remove the use of quotas from your survey.
I understand that in the approach described in the first post, Q_TotalDuration is used as a variable that is remembered and updated over time by Qualtrics, even across page reloads.However, I could not get this to work, in Google Chrome. It seemed that after having visited the block at hand, Q_TotalDuration would always keep its first value after reloading the page. (Perhaps the problems on mobile as described by the orignal poster are linked to this, if the mobile device was using Chrome?)I set up a test by adding only this JS to a block:Qualtrics.SurveyEngine.addOnload(function(){ /*Place your JavaScript here to run when the page loads*/ console.log('${e://Field/Q_TotalDuration}');});Result in Google Chrome: After reloading the page, the displayed value always stays the same. This means it cannot be used to keep track of time going by. Result in Firefox: After reloading the page, the number has gone up compared to the previous visit. This is what you would like to see.I just wanted
I did reach out to Qualtrics Support before I made the above forum post. (The support ticket e-mail mentioned to also try the forums.) Support suggested it could be because of a missing Access API permission. That puzzled me because the missing Access API was not a problem before: we have been using the app for years. However, this morning when I tried to log in on the app again, using exactly the same method as last week, it worked. Pehaps there was a temporary server issue?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.