HOW TO

Insert a custom string in a Survey123 feature report for unanswered questions

Last Published: September 25, 2024

Summary

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.

HowTo1.png

Procedure

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.

HowTo3.png

HowTo4.png

Article ID: 000031356

Software:
  • ArcGIS Survey123

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options