# Show correct answer together with feedback

**URL:** <https://discourse.psychopy.org/t/show-correct-answer-together-with-feedback/5963>\
**Category:** Builder\
**Created:** [November 28, 2018, 2:52pm UTC](https://discourse.psychopy.org/t/show-correct-answer-together-with-feedback/5963 "2018-11-28T14:52:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smile667](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@smile667](https://discourse.psychopy.org/u/smile667)\
**Post date:** [November 28, 2018, 2:52pm UTC](https://discourse.psychopy.org/t/show-correct-answer-together-with-feedback/5963/1 "2018-11-28T14:52:31Z")

</div>

**OS** (e.g. Win10): Win 10  
**PsychoPy version** (e.g. 1.84.x): 1.90.1  
**Standard Standalone? (y/n)** If not then what?:

**What are you trying to achieve?:**  
I need to show participants feedback after they complete the experiment together with an answer they should have given if it was wrong. I found a tutorial on the feedback part, but nothing on showing the correct answer.

It would be extra helpful if someone could tell me how to do this for feedback after every stimuli and at the end for the whole loop (basically in the two conditions, in one participants see feedback and correct answer right after they give a response, in the other they get both at the end for all items)

**What did you try to make it work?:**  
Nothing. I’ve got no idea how to achieve it.

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/michael/32/16_2.png) [@Michael](https://discourse.psychopy.org/u/Michael)\
**Post date:** [November 28, 2018, 8:02pm UTC](https://discourse.psychopy.org/t/show-correct-answer-together-with-feedback/5963/2 "2018-11-28T20:02:21Z")

</div>

You have the correct answer as a variable in your conditions file. So simply put that variable name, prefixed by a `$` symbol, in the text field of a text stimulus, set to update on every routine.

---

<div class="post-metadata">

**Author:** ![smile667](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@smile667](https://discourse.psychopy.org/u/smile667)\
**Post date:** [November 28, 2018, 11:11pm UTC](https://discourse.psychopy.org/t/show-correct-answer-together-with-feedback/5963/3 "2018-11-28T23:11:37Z")

</div>

That works beautifully, thank you very much @Michael.
