HOW TO
When a non-required question in a survey is not answered, the feature report displays a blank space next to the question name, as shown in the screenshot below.
The purpose of this article is to help those who create feature reports in the ArcGIS Survey123 web app by showing how to add a custom string for unanswered questions.
The following expression can be used to add a custom string.
The final result tag should be similar to the following example.
This populates the report if the question is answered:
${questionname1}
Our custom string if the question is unanswered:
${ if !questionname1!= ” ”} This question was left unanswered ${/}
Adding this statement for questions that are not required in a survey form avoids having blank spaces in a feature report.
The next two images show an example maintenance survey where our custom string has populated unanswered questions, while questions that have been answered are also displayed.
Get help from ArcGIS experts
Download the Esri Support App