PROBLEM
Using an "if selected" calculation to auto-populate a field works as expected in Survey123 Connect but does not work in the web form. For example:
if(${status}='good', 'green') OR if(${status}='ok', 'yellow') OR if(${status}='bad', 'red', 'white')
The web form cannot apply the same logic as Survey123 Connect.
It is recommended to chain if statements together. Each if statement is the 'else' choice for the proceeding if statement until the end. That is where to add the default option if none of your if statements are true. For example:
if(${status}='good', 'green', if(${status}='ok', 'yellow', if(${status}='bad', 'red', 'white')))
Article ID: 000033075
Get help from ArcGIS experts
Download the Esri Support App