I have written some simple scripts to act in the place of display logic as it does not work for what I am trying to do (in page logic based on embedded data), but although my scripts work as expected, I get an unexpected pagebreak mid-block after my set of javascripted questions. This breaks my survey as all the questions in a block must appear on the same page. What could be causing this, and how do I fix it?
My scripts are all like this:
Qualtrics.SurveyEngine.addOnload(function(){
var ans = parseInt( "${e://Field/randomnumber0}" )
if(ans!=11 ){
jQuery("#"+this.questionId).hide();
}
});
Question
I get an unexpected page break after questions with javascript
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.