The emails configured with Survey123 for ArcGIS and webhooks display names instead of labels for the select_one question when surveys are created from Survey123 Connect for ArcGIS.
Last Published: June 18, 2019ArcGIS Survey123
Bug ID Number
BUG-000122768
Submitted
May 31, 2019
Last Modified
June 5, 2024
Applies to
ArcGIS Survey123
Version found
3.3
Status
Known Limit
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
Additional Information
The label from a choice list can be sent to a feature layer (and hence included in a webhook payload) by using the jr:choice-name() function in the calculation field of another question, for example a hidden question type, so it is not visible on the form. Similarly, prevent the name from a choice list being sent to a feature layer by setting the bind::esri:fieldType parameter to 'null' for the select_one question.
More information on using the jr:choice-name() function can be found in this blog (https://community.esri.com/groups/survey123/blog/2018/12/02/survey123-tricks-of-the-trade-xlsform-functions-for-lists) and the Doc (https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_276FB773E7E2442EB81831714B08660D)