For alt solution (not really dirty)
I think you want to show correct result at end of survey ?
Then :
At each group, create a Text display question and hide it with settings
For this question code : set it to ReportGroupX (wher X is updated for each group)
Set question text to something like this
Code:
<h2>Your result to {GROUPNAME}</h2>
<ul>
<li>At question {G1Q1.question} you answer {G1Q1.shown}, the good response was The good response at Q1</li>
<li>At question {G1Q2.question} you answer {G1Q2.shown}, the good response was The good response at Q1</li>
</ul>
And finally for endpage :
Code:
<h1>Your result was :</h1>
{ReportGroup1.question}
{ReportGroup2.question}
{ReportGroup3.question}
Some advantage of this solution
- Have multiple short part is always better than a big part
- You can check validity of your report when previewing group (remove hidden settings) during development
- You can use anything else than {GROUPNAME}