Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

if_statements and forms

Hi All,

I need to implement a background questionnaire before my task and I was wondering if there is an option to show some of the questions in the questionnaire based on the responses of the previous question.

So for example I ask if the participant uses English on a daily basis and they can select either "yes" or "no"; then I have a follow up question with whom do they speak it on a daily basis. I would like this question to show only if "yes" was selected in the previous question. Is this possible to implement in OSWeb?

Best,

Marta

Comments

  • Hi @m.vel,

    It depends how you implement the questionnaire. Are you using forms? Sketchpads with keybpoard inputs?

    You can condition the presentation of objects using the "Run if" parameter in the sequence.

    However, remember that sequences are prepared ahead of it being executed, so if you want the content of sequence to be conditioned by a response to an earlier item within that same sequence, the "Run if" will not work with anything else than the feedback object (only object whose content can be modified while the sequence is executed).

    With forms, you'd have to place the initial question in a sequence and then use nested loops and set the "Run if" parameters of these to indicate to the task which loops must be executed when.

    It all depends a little on how your task is designed.

    Hope this helps.

    Fabrice.

    Buy Me A Coffee

  • Hi Fabrice,

    I am using forms for the questionnaire. This is the same task I asked about the spaces becoming "0" in the web version, thus the task is uploaded here: https://forum.cogsci.nl/discussion/comment/27985#Comment_27985

    I have a few questions in which for example we ask if the participant at is bilingual, the following question is "if yes, what is the other language?". It would be best to keep the task quick that the irrelevant questions would not appear, thus whether the follow up question appears should be dependent on the answer of the previous question.

    Is this something that can be implemented easily?

    Thank you!

    Marta

Sign In or Register to comment.