Select to view content in your preferred language

Survey 123 feature report Conditional syntax if select_one is blank

354
1
03-20-2023 03:34 AM
ChristopherDawe
Regular Contributor

I am trying to develop a survey 123 summary report for an existing survey with over 3000 records. I would like to us a conditional if statement to highlight where a select_one question has not been answered so that the users etc can see where dat is missing or needs to be re-entered prior to re-running the summary report and full feature reports. it looks as if this question has been asked previously here https://community.esri.com/t5/arcgis-survey123-questions/survey123-feature-report-conditional-check-... but I cannot seem to get it to work and I am wondering whether it is due to my question(s) being select_one and select_mulitple rather than free text which would 

I am currently trying the following with no success

The building surveyed was a ${if buildingType} ${buildingType} ${/} ${if buildingType==""}NOT SELECTED${/}

The obvious solution to this would be to make the questions required or have a default valule but this doesnt help for existing records

Does anyone know whether  the above should work for select_one and select_multiple question types

Thanks

@IsmaelChivite @JamesTedrick @Katie_Clark 

0 Kudos
1 Reply
Katie_Clark
MVP Regular Contributor

That syntax looks correct to me and I think it should work for either select_one or select_multiple, but the question is...have you actually tested it? If so, is it producing the output you expected, or returning an error?

Best,
Katie


“The goal is not simply to ‘work hard, play hard.’ The goal is to make our work and our play indistinguishable.”
- Simon Sinek
0 Kudos