Loops versus Forms
I'm setting up a handedness questionnaire and some other questionnaires (which need to be scored) and I'm having a bit of trouble understanding the loop information. Most of the examples are for experiments. I tried to set up my handedness questionnaire as a loop but my experiment seems to skip it when it runs and moves on to the next questionnaire (see CurrentCode.txt). I'm trying to figure out how to set the score so that if the selection is left - the score is 0, if the selection is both - the score is 1, and if the selection is right - the score is 2. I would like to output a final score that gives the percentage of handedness. I have a trial sequence inside the loop but it doesn't have much in it. I also don't need 30 cycles. I only need 10. I know I could probably use a form but I would prefer to use a loop and have it scored. Is this possible?
I had the loop set up differently before (see OldCode.txt attached) with Left, Right, and Both as different options for each question_text (e.g. draw, use a toothbrush, etc.) and that set the the cycles to 10 (the correct value).
So, my questions are:
1. how do you make the loop run (my code just skips it)
2. how do you make the loop score (I'm not sure where the scores go)
3. I think I need a feedback item to display the percentage of handedness