Select to view content in your preferred language

Question calculation used for select_one

277
1
06-21-2018 02:10 AM
StuartMoore
Frequent Contributor

does anyone know if this is possible?

so i have a question that is read only and its a calculation that basically validates some of the previous questions, so if it passes the validation it shows 'Pass' else if shows 'Error'

what i would like to do is color them so the pass is green and the error is red, i did think i could do this by changing the question to a select one and then having a choice list with pass or error and add in the html tag to the label but this dose not work, all i get is a blank survey (none of the questions are shown...)

any ideas?

Stu

0 Kudos
1 Reply
SMauri
by
Frequent Contributor

Hi Stuart,

maybe with something like two questions of type note, that you can format as you want with HTML tag and visible only with certain condition.

typenamelabelrelevantcalculation
calculationvalidationvalidationsome calculation to validate question
note<font color="green">Pass</font>${validation} = 'ok'
note<font color="red">Error</font>${validation} = 'ko'

Cheers

Stefano

0 Kudos