How can I hide the answer choices for multiple questions in a block? | XM Community
Question

How can I hide the answer choices for multiple questions in a block?

  • 16 April 2021
  • 0 replies
  • 127 views

Badge +1

Hello everyone,
I am currently building a multiple choice survey via key presses and need help with hiding the answer choices. The survey consists of 77 questions, in which the participants first see a fixation cross and then a target question that prompts them to either press "J" for Yes or "F" for No.
Right now, I am using this.hideChoices(); for each question. When I run the preview, however, the answer choices still show up for a few seconds before they delayingly dissapear and the target image appears. The 'flashing' is unfortunately quite problematic as I want the participants to focus on the fixation crosses and targets only.
Is there something wrong with my code, perhaps? Or is there a way to hide the choices for a whole block, so that the Qualtrics Engine wouldn't have to run it for every single question? And does it have to do something with the browser I am using? I have already tried it out with Safari, Chrome and Microsoft Edge, and tried putting the entire code in addOnload(), but nothing changes.
Here's the JS code for reference:
image.pngHere's the HTML for a sample question:

https://psyunihamburg.qualtrics.com/CP/Graphic.php?IM=IM_8uZtBp6vAhFgy8u" style="width: 720px; height: 380px;" />


I would really appreciate any help I can get! Thanks a lot in advance!
-Birte


0 replies

Be the first to reply!

Leave a Reply