- Posts: 1128
- Thank you received: 329
Ask the community, share ideas, and connect with other LimeSurvey users!
paulhazelwood wrote: I would like it to also display the answer that they selected. Can this be done.
<table cellpadding="5" > <thead> <tr> <th> Question </th> <th> Your answer </th> <th> Correct answer </th> </tr> </thead> <tbody> <tr> <td> {Q1.question} </td> <td> {Q1.shown} </td> <td> {if (Q1 == 'A2' , '<font color=green>Correct</font>' , '<font color=red>Incorrect</font>')} </td> </tr> <tr> <td> {Q2.question} </td> <td> {Q2.shown} </td> <td> {if (Q2 == 'A2' , 'Correct' , 'Incorrect' )}</td> </tr> <tr> <td> {Q3.question} </td> <td> {Q3.shown} </td> <td> {if (Q3 == 'A2' , 'Correct' , 'Incorrect')} </td> </tr> </tbody> </table>