Howdy, Stranger!

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

Supported by

"Response" different than text displayed on checkbox

Is there a way to have an output (aka "response") different than the "text" on a checkbox?
Some sort of hidden value.
Thx!

Comments

  • Hi,

    Could you elaborate? What item are you talking about, and hidden in which way and which purpose?

    Eduard

  • My checkbox answers are "True" and "False" but I need that the logger saves 0 when False and 1 when True.
    Thx :D

  • Btw I think the answer is: use coding
    https://osdoc.cogsci.nl/3.2/manual/python/log/

  • Yeah, if you need to recode them during the experiment, you can add an inline_script after the form with some if statements like this:

    if var.response == 'True':
        var.response = 1 # alternatively define a completely new variable
    elif var.response == 'False':
        var.response = 0
    

    But if you don't need this for the experiment, you can easily change that during the data analysis.

    Eduard

  • thx! :)

Sign In or Register to comment.