We are conducting a study in which one part is an IAT that was created with the web app iatgen and inserted into the JavaScript of a Text Entry Question. Through that the layout of the entire survey has changed. We would like to limit the JavaScript to the blocks which contain the IAT and leave the rest of the survey unchanged. However, we are unsure why the rest of the study is even affected. We guessed that it might be due to the following code about QuestionID:
var qID =this.questionId;
qID = qID.replace("QID", '');
qID = parseInt(qID);
I uploaded one of the 7 parts of the code. Any help is appreciated!
IAT_part1.txt