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:
- An additional page that will be skipped unless the button is used.
- The buttonToPage() function to show an additonal button.
- The
setNextPage() function to skip the page by default.