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?
Problem solved: I changed the field type from calculation to decimal and I am now able to view the calculations in the form.
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
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.