We created a Survey123 for employee evaluations. Reviewers could optionally leave a comment in their evaluation. Below is the syntax I'm using to list all of the comments provided for an individual, but I'd like to omit responses that did not leave a comment. I have tried the ${if comments} {/} syntax but I'm not placing it correctly because Survey123 will complain that comments isn't in the parsing scope, even though it is.
Comments:
${#Boise_Fire_360_Evaluations_1 | where: "personnel = 'name' AND reportingYear = '2024' !important”| orderByFields: "objectid asc"}${comments}
__________________________________________________
${/}
OR THIS:
${if Comments #Boise_Fire_360_Evaluations_1 | where: "personnel = 'NAME' AND reportingYear = '2024' !important”| orderByFields: "objectid asc"}${comments}
__________________________________________________
${/if}