Hi there, I'm trying to import a question from another survey. The question loads, edits, etc. perfectly fine in the original survey, but whenever I try to import and edit in the second survey, I get an error that says "Question has not been saved. JavaScript is not allowed." ! Why is this happening? The original question is just a line of Text. The HTML is ``` <p>Your survey will automatically load in <strong><span id="countdowntimer">10 </span> seconds</strong>. Thank you for your patience.</p> <script type="text/javascript"> var timeleft = 10; var downloadTimer = setInterval(function(){ timeleft--; document.getElementById("countdowntimer").textContent = timeleft; if(timeleft <= 0) clearInterval(downloadTimer); },1000); </script> ``` And in the addOnPage JavaScript, there's also: ``` this.hideNextButton(); this.clickNextButton.delay(11); ``` Thanks so much!
Hi there, I'm trying to write custom code to overwrite the responses from previous questions. Near the end of our survey, I use piped text to display responses from earlier in the survey. I only want to overwrite these responses after displaying them at the end of the survey, but before they are recorded. I want to do this using javascript/jquery at the end of the survey to avoid the complexity of setting embedded data fields for each individual question. Ideally, the process would be something like this: use the QID of questions from previous blocks to access the responses. Then, change the values that respondents gave, but only at the very end of the study; this is why the responses cannot be overwritten or deleted on the page immediately after the respondent leaves the page. I know we can used piped text to display text from previous questions/responses; how can I modify those previous responses? Here's what I've tried before: 1) Setting a variable to `${q://QID3/ChoiceGroup/Se
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.