HOW TO

Create a dynamic survey title in ArcGIS Survey123 Connect

Last Published: January 3, 2024

Summary

In ArcGIS Survey123 Connect, it is possible to create a dynamic survey title to personalize the survey depending on the input information. The survey title is typically defined in the form_title column on the settings worksheet. However, form_title does not support dynamic elements. To create a dynamic survey title, a generated_note_form_title note question must be used.

This article describes two methods to a create dynamic survey title; one using the response to a question and the other using the data retrieved from the use of the pulldata() function in ArcGIS Survey123 Connect.

Procedure

Dynamic title from the survey's response

  1. In ArcGIS Survey123 Connect, open the survey's XLSForm.
  2. Create the question for which the response must be used dynamically as the survey title.
    1. In the survey worksheet, in the type column, select text and specify the name and label columns. In this example, the question is named 'the_name' and labeled 'Name'.
  3. Create the generated_note_form_title note question.
    1. In the survey worksheet, in the type column, select note.
    2. In the name column, type generated_note_form_title.
    3. In the label column, specify the following expression:
<the question label> ${<the question name from previous step>}
The survey's XLSForm.
  1. Save the XLSForm and publish the survey.

The image below displays the survey with a dynamic title based on the response to the Name question.

The survey with a dynamic title.

Dynamic title from data retrieved using the pulldata() function

The pulldata() function can be utilized in surveys to extract data from CSV files, EXIF metadata, geopoint questions, ArcGIS feature layers and more. This method saves time while also ensuring data precision and accuracy as it does not require submitters to manually enter responses.

  1. In ArcGIS Survey123 Connect, open the survey's XLSForm.
  2. Create the question for which the response must be used dynamically as the survey title.
    1. In the survey worksheet, in the type column, select text and specify the name and label columns. In this example, the question is named 'full_name' and labeled 'Full Name'.
    2. Optionally, in the appearance column, select hidden from the drop-down list to hide the question from being displayed on the survey.
    3. In the calculation column, specify the pulldata() expression. For more information on extracting certain data using the pulldata() function, refer to ArcGIS Survey123: Functions. In this example, the pulldata("@property") function is used to extract the properties of the signed-in users, such as their names.
pulldata("@property" , 'userFullName')
  1. Create the generated_note_form_title note question.
    1. In the survey worksheet, in the type column, select note.
    2. In the name column, type generated_note_form_title.
    3. In the label column, specify the following expression:
<the question label> ${<the question name from previous step>}
The survey's XLSForm.
  1. Save the XLSForm and publish the survey.

The survey is displayed with a dynamic title based on the signed-in user.

The survey with a dynamic title based on the signed-in user.

Article ID: 000031640

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