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
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.
type | name | label | relevant | calculation |
---|---|---|---|---|
calculation | validation | validation | some calculation to validate question | |
note | <font color="green">Pass</font> | ${validation} = 'ok' | ||
note | <font color="red">Error</font> | ${validation} = 'ko' |
Cheers
Stefano