Summing up and displaying scores in Pavlovia surveys

Hello,

I am wondering whether it is possible to sum up the survey scores and display them to the participant when they finish with the survey?

This should be possible using expression items to calculate the scores.

I have recently done this as follows:
Create a single cell matrix and give it the name pqt. Individual rows in the matrix are labeled ptq_q1, ptq_q2 and so on.

On the next page I have calculated the score as follows using an Expression element:

{pqt.ptq_q1} + {pqt.ptq_q2} + {pqt.ptq_q3} + {pqt.ptq_q4} + {pqt.ptq_q5}

I wondered whether I can calculate this score for output into my data, but suppress displaying the score for participants? Ideally, I would like to perform validation in the same step- so 1) sum the scores for a series of items (have no problem accomplishing this step), but then go on to validate by checking that there were no missed/null responses. And then output this score to my data, without displaying to participant. I have experimented with checking and unchecking the ‘visible’ box for my scoring expression, but it seems that this prevents output of the data as well. Any tips?

Hi There,

I think if you go to the Data tab of that question and change the setting below then you should be able to uncheck the “Visible” option and the data from the expression still saves.
image

Becca

2 Likes

Yes! That worked. Thanks for your help!