Hi all,
The latest Survey123 update mentions that Report templates now support conditional elements to show or hide content depending on answers in th....
But, I haven't been able to find any documentation around this?
Could anyone point me in the right direction.
Thanks,
Gee
Solved! Go to Solution.
Hi Geethaka,
I write the documentation for Survey123, so I'm the one that has to apologize here. Unfortunately, for multiple reasons, the documentation for conditional statements didn't make it in time for the 2.8 release. The full documentation will be in the next release, but here's a grab that should hopefully get you started:
Elements of a report can be shown or hidden conditionally through the use of if statements. The if statement can be used through entering an expression into the starting placeholder ${if expression}, with ${/} denoting the end of the conditional segment. Some examples of if statements that could be used to hide parts of a report are:
Hi Geethaka,
I write the documentation for Survey123, so I'm the one that has to apologize here. Unfortunately, for multiple reasons, the documentation for conditional statements didn't make it in time for the 2.8 release. The full documentation will be in the next release, but here's a grab that should hopefully get you started:
Elements of a report can be shown or hidden conditionally through the use of if statements. The if statement can be used through entering an expression into the starting placeholder ${if expression}, with ${/} denoting the end of the conditional segment. Some examples of if statements that could be used to hide parts of a report are:
This is GREAT
Thanks Claire Proctor
Hi Claire,
Any new documentation yet on this subject?
Specifically, I'm looking for the correct syntax for the opposite of:
.... so what's the expression to display the section only if the photo 1 question has NOT been answered?
Thanks,
David Booth