Howdy, Stranger!

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

Supported by

Adding Feedback after trial

Hi, this might be a really easy question but I'm still super new to OpenSesame and can't seem to figure it out by myself.


I have an experiment with the Correct Response being either up, down, left or right depending on where in the sketchpad an opening appears.

Now I need to add in Feedback (red/green fixation cross) after each trial, however the way the devs showed in in their intermediate tutorial (setting the run if statement to [correct]= 1/0= isnt working...


I really hope someone can help me ! Thanks in advance :)

Comments

  • Hi @thescentofhoney,

    The procedure described in the tutorial is working. Could it be that you made some error copying it?

    Are you using a feedback object instead of a sketchpad? (only the feedback object is put together on the fly during the trial; sketchpads are prepared before the trial is initiated).

    You can use some code (using a inline_javascript or an inline_script object to output the participant's response, the correct response and the score to the console. That way, you'll be able to check whether the feedback fails because one of these variables is not set properly.

    Take a moment to consider these steps. If you can't find the origin of the problem, don't hesitate to post your task to this forum so that someone can take a look and help fixing the issue.

    Best,

    Fabrice.

    Buy Me A Coffee

  • Hi again @Fab,

    I thought I'd post my question here instead of in a new thread although it's a bit more complex than "just adding feedback". Rather, it's about sometimes adding feedback: I have two tasks in my experiment, one is a sentence judgment (yes, agree/no, don't agree), the other is a sentence comprehension question (yes/no) that comes in only one third of the trials. Both are responded to with the same keys. The comprehension question has a correct or incorrect response (indicated in the column correct_response) and based on this, a green or red feedback icon is presented (defined in the run-if statement, like above).

    Here's the problem: sentence judgments do not have a correct/incorrect response, and no response_column that would be checked. In my experiment, the feedback screen comes after the comprehension questions screen only, but the feedback icon is also presented for the judgment (always red since the [correct] statement in that case is never fulfilled), which is confusing.

    This is how it looks:

    Is it possible to hide the feedback screen for sentence judgments? I played around with a grey (=invisible) feedback icon, but that wasn't really helping for now..

    Thanks for giving it a thought!

    Best,

    Christin

  • Hi @schuetzin,

    Based on my understanding of your description, you want the feedback to be displayed in relation to the comprehension question and so, only to show on the few trials where a comprehension question is presented.

    Ths simplest method is to set a variable that codes for whether or not your trial contains a comprehension question and include this as part of the condition defined under "Run if" for the feedback screens. Even simpler, you could use an existing variable that only takes a certain value when a compregension question is present in the trial.

    Best,

    Fabrice.

    Buy Me A Coffee

Sign In or Register to comment.