Hi there,
I having a problem creating an if or statement with multiple questions. Each question is a "select_one" type.
If a defined answer (yes or no) is selected in any of the four questions, I want to display the words "No Comments". I've tried a lot of variations, one example below:
${if question1==“No”} or ${if question2!==“No”} or ${if question3==“Yes”} or ${if question4==“No”} No Comments${/}${/}${/}${/}.
The "or" statement seems to be not recognised. Any help greatly appreciated.
Solved! Go to Solution.
I found the solution thanks to a post by @Katie_Clark : https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-syntax-for-if-fu...
Solution:
${if question1==“No” || question2!==“No”} || question3==“Yes”} || question4==“No”} No Comments${/}
I found the solution thanks to a post by @Katie_Clark : https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-syntax-for-if-fu...
Solution:
${if question1==“No” || question2!==“No”} || question3==“Yes”} || question4==“No”} No Comments${/}