Is there a way to view calculations on a Survey123 form?

1992
2
03-30-2018 03:27 PM
BryceHancock
Occasional Contributor

I would like to show calculations on my Survey123 form based on values entered in previous fields. When I create the calculate fields in the spreadsheet and switch to form view, my calculation fields do not show. How do I show them?

0 Kudos
2 Replies
BryceHancock
Occasional Contributor

Problem solved: I changed the field type from calculation to decimal and I am now able to view the calculations in the form.

BrandonArmstrong
Esri Regular Contributor

Hi Bryce,

The calculate question type is intended to hold values that do not need to be displayed in the form but are included in the feature service.  As you found, you can use other field types (integer, decimal, text...) and apply the calculation in the calculation column. 

Note, that if using a string type of question to perform a calculation that will result in a numeric value, you will likely want to use the 'int(${question_one})' syntax in order to ensure that the result is recorded an an integer.  This will allow for the result to be used in further numeric calculations.

Formulas—Survey123 for ArcGIS | ArcGIS 

Brandon

0 Kudos