0 votes
ago in SoSci Survey (English) by s257161 (120 points)

I am creating a new project with your platform, and I would like to calculate the results of 4 scales at the end of the survey if the participant clicks on the option: calculate the results of "x" scale.
So if the respondent clicks on the button the results will appear, and if he doesn´t the results won´t appear in a next page.
However, I am unable to find a way to do this. Could you please help me with this?

1 Answer

0 votes
ago by SoSci Survey (361k points)

Okay, the results are the easy part. You just need to calculate them via valueMean() and then display them. For example:

replace('%resultA%', valueMean('SC01'));
replace('%resultB%', valueMean('SC02'));
replace('%resultC%', valueMean('SC03'));
replace('%resultD%', valueMean('SC04'));

html('
  <p>Result Scale A: %resultA%</p>
  <p>Result Scale B: %resultB%</p>
  <p>Result Scale C: %resultC%</p>
  <p>Result Scale D: %resultD%</p>
');

More about that see Individual Feedback for Participants.

Okay, now the other part: A custom button that changes the questionnaire's behavior. You'll need these things:

  1. An additional page that will be skipped unless the button is used.
  2. The buttonToPage() function to show an additonal button.
  3. The setNextPage() function to skip the page by default.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...