HOW TO

Add placeholder text for text questions in ArcGIS Survey123 Connect

Last Published: November 22, 2024

Summary

In ArcGIS Survey123 Connect, formulas can be applied to survey questions to modify the way a question is displayed. For example, customizing a survey question to show hints as a placeholder text within the question text box.

This article provides the steps to add a placeholder text within the question text box in ArcGIS Survey123 Connect.

An example of the ArcGIS Survey123 Connect survey form

Procedure

  1. In ArcGIS Survey123 Connect, open the survey's XLSForm.
  2. Create a text question in the survey worksheet. In this example, the text question type is created.
    1. Specify a name for the question that is not listed in the Reserved worksheet, and under the label column, specify the name of the question and the text to be displayed for the question as the label in the form. In this example, the question is named 'candidateQual' and 'Academic Qualification(s)' is the label.
    2. Under the hint column, specify the actual text to be displayed in the text box for the question in the form.
    3. Under the body::esri:style column, specify the following formula.
placeholderText=@[hint]
The edited XLSForm
  1. Click Save The Save icon.

The image below shows the placeholder text within the question text box.

The ArcGIS Survey123 Connect survey

Article ID: 000031399

Software:
  • ArcGIS Survey123 Connect

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

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options