# How to have participants continue after a loop only when they have gotten a certain number of questions correct in the loop

**URL:** <https://discourse.psychopy.org/t/how-to-have-participants-continue-after-a-loop-only-when-they-have-gotten-a-certain-number-of-questions-correct-in-the-loop/33706>\
**Category:** Builder\
**Created:** [March 8, 2023, 5:50am UTC](https://discourse.psychopy.org/t/how-to-have-participants-continue-after-a-loop-only-when-they-have-gotten-a-certain-number-of-questions-correct-in-the-loop/33706 "2023-03-08T05:50:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JensBoelte](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jensboelte/32/9060_2.png) [@JensBoelte](https://discourse.psychopy.org/u/JensBoelte)\
**Post date:** [March 8, 2023, 9:21am UTC](https://discourse.psychopy.org/t/how-to-have-participants-continue-after-a-loop-only-when-they-have-gotten-a-certain-number-of-questions-correct-in-the-loop/33706/2 "2023-03-08T09:21:27Z")

</div>

Hello Bennett

there are a couple of solutions to both questions posted in the forum, for instance

> [@Keep tracking of correct responses' score of an initial routine to END the experiment or continue in next routines](https://discourse.psychopy.org/t/keep-tracking-of-correct-responses-score-of-an-initial-routine-to-end-the-experiment-or-continue-in-next-routines/17835):
>
> Hello, I am using Psychopy 2020v.2.5, the builder view. I have a screening trial at the beginning of my experiment, in which I want to keep tracking of the number of correct responses by the end of a loop of six trials (rows) in a condition file with a corrAns for that screening. Now if the score was 5 correct out of 6 or more (e.g., 6/6), the participant should be able to move to the next routine in the experiment until the end of the experiment. On the other hand, if the score was 4 or less b…

or regarding feedback

> [@Issue with giving feedback-first correct feedback marked wrong](https://discourse.psychopy.org/t/issue-with-giving-feedback-first-correct-feedback-marked-wrong/14613):
>
> URL of experiment: Description of the problem: I used the following code to set up a feedback routine for one of my task. The task consists of many trials and I realized that it appears that for the first accurate keypress, the message displayed always appears to be “Oops, that’s wrong!” and I don’t know how to fix it. Additionally, it appears that after an inaccurate response, once I get back to the accurate response, the problem will appear again. I…

Best wishes Jens

---

_[View the full topic](https://discourse.psychopy.org/t/how-to-have-participants-continue-after-a-loop-only-when-they-have-gotten-a-certain-number-of-questions-correct-in-the-loop/33706)._
