PROBLEM
ArcGIS Survey123 supports prepopulate answers for survey questions in several ways such as setting default answers, importing existing CSV data, and applying calculations. When a feature layer of a published survey form containing questions with predefined calculations is used in a web map, the predefined calculations are not preserved when the web map is used in other applications, such as ArcGIS Field Maps. The field with the predefined calculation is not automatically filled up and users are able to edit the field with custom attributes.
The image below is an example of the ArcGIS Survey123 question with predefined calculation. The question labelled 'Percentage' is auto-calculated when the answers in the survey that are inputs to the calculation are filled in.
The image below shows the same layer used in a web map in ArcGIS Field Maps. The 'Percentage' field is not auto-calculated, and users can input custom attributes.
This is a known limitation. The calculation configured in the ArcGIS Survey123 web app only applies on the ArcGIS Survey123 application level. It does not reflect on the feature layer level where the other ArcGIS applications are utilizing the data source from.
As a workaround, configure the form to apply the calculation in ArcGIS Online on the web map level or on the web application itself such as the ArcGIS Field Maps web app.
Configure the form in ArcGIS Online Map Viewer
Create a form for the feature layer in ArcGIS Online Map Viewer, and configure the form to add expressions to calculate and populate data automatically. This method automatically calculates data in the form using attributes, geometry, and account information for signed-in users.
The image below shows an example of a calculated expression using Arcade created for a form element in ArcGIS Online Map Viewer.
The form is saved as part of the web map. Use the web map with the configured form in the desired application such as ArcGIS Field Maps.
Configure the form in the ArcGIS Field Maps web application
In the ArcGIS Field Maps web app, configure the form and create expressions using Arcade to streamline and automate data entry using calculated expressions.
The image below shows the form element, 'Percentage' in ArcGIS Field Maps mobile app is applied with calculated expression, and data is automatically populated in the form.
Get help from ArcGIS experts
Download the Esri Support App