I am having issues getting a survey to work. I get an "Error converting XLSForm" message with no detail. I am trying to get the values 1-5 in a select one question displayed as a likert. I have the bind::type set to "int" and the bind::esri:fieldType set to esriFieldTypeInteger. The survey looks fine when published but all the select one and grouped select one questions I am using are not logging any values at all in the table. any ideas what I might be doing wrong? I really need these to show up as numbers so that I can uses then as such in a dashboard I would like to create.
thanks
Solved! Go to Solution.
Hi Josh
Thanks for providing the XLSForm. A couple of hints below to help fix the issue you're seeing:
I've attached a revised XLSForm for your reference.
If you needed to use the value from a select_one elsewhere in your form (for a calculation, for example) you could use the int() function in the calculation column to treat the value as an integer, for example: int(${field_1}) + int(${field_4}). EDIT: However, to avoid issues when including other integer or decimal type questions in a calculation it is recommended to add a calculate question with bind::type set to 'int' to store the answer to the select_one and then use this value in any calculations.
More info on the choices worksheet available here:
XLSForm essentials—Survey123 for ArcGIS | ArcGIS
Survey123 for ArcGIS XLSForm Tutorial 2 of 5 Creating Selection Questions in a Survey - YouTube
Hope this helps,
Jim
Hi Josh
Thanks for providing the XLSForm. A couple of hints below to help fix the issue you're seeing:
I've attached a revised XLSForm for your reference.
If you needed to use the value from a select_one elsewhere in your form (for a calculation, for example) you could use the int() function in the calculation column to treat the value as an integer, for example: int(${field_1}) + int(${field_4}). EDIT: However, to avoid issues when including other integer or decimal type questions in a calculation it is recommended to add a calculate question with bind::type set to 'int' to store the answer to the select_one and then use this value in any calculations.
More info on the choices worksheet available here:
XLSForm essentials—Survey123 for ArcGIS | ArcGIS
Survey123 for ArcGIS XLSForm Tutorial 2 of 5 Creating Selection Questions in a Survey - YouTube
Hope this helps,
Jim