Howdy, Stranger!

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

Supported by

is it possible in osexp to have input text and feedback on it

Hi,


I want to have an input text and give the user feedback bu showing a green or red circle on a sketchpad, depending if the answer was correct. Nut I saw my input text variable is not recgnised in the inline javascript, onlty in logger, so how can I give the user that feedback?

Comments

  • Hi @Raanan

    I'm not sure why you can't access your variable.

    Are you using the correct syntax to call your variable? JavaScript variables should be preceded by 'vars', for example: vars.your_var_name. Also, make sure that your inline script is placed after the response has been submitted.

    If you could share any additional details or your experiment file, that might help us to understand what's going wrong.

    Thanks,

    Claire

Sign In or Register to comment.