Hello,
Quick question on the choices tab. Is it possible to have the following setup within the choices tab; please look carefully.
list_name | name | label |
Bat_Freq_Choice | 172.064 | 172.064 |
Bat_Freq_Choice | 172.091 | 172.091 |
Bat_Freq_Choice | 172.121 | 172.121 |
Notice that there are "dots" or "decimal points" within the "name" column within the sample above! Also, please note that this is within a functioning Survey123 form that has been used on one of my projects. I did not realize that I had inadvertently forgot to replace the "decimal" with an "underscore" prior to posting the survey for use. According to this help documentation though; this should not be possible or am I miss interpreting the help documentation?
Here is the first portion of the help documentation below
This worksheet is used to specify the answer choices for multiple choice questions. Each row represents an answer choice. Answer choices with the same list name are considered part of a related set of choices and will appear together for a question. This also allows a set of choices to be reused for multiple questions (for example, yes/no questions).
The choices worksheet has three mandatory columns: list name, name, and label.
One thing to keep in mind when authoring forms in Excel is that the syntax you use must be precise. For example, if you write Choices or choice instead of choices, the form won’t work.
Here is the information that is contained within the link for "special characters"
These characters can't be used in the name of a question, or in the name field for a choice list.
Special character | Name |
---|---|
Space | |
, | Comma |
; | Semicolon |
- | Hyphen |
/ | Forward slash |
$ | Dollar sign |
. | Dot |
( | Opening parenthesis |
) | Closing parenthesis |
My survey should not be usable according to the help documentation, but it worked perfectly on a project that we completed this summer. However, I am getting ready to re-purpose this survey for use on another project that starts next week. I don't want to assume that the survey is "ok" to use and have issues with the form once my field crews start to use the form.
I have the opinion of making the edit for switching the "dot/decimal point" within the values of the "name" column to an "underscore" and thing should be good to go.
Any information would be greatly appreciated.
#ismael chivite #james tedrick
Solved! Go to Solution.
Hi Mike,
Doing some testing, it looks like the documentation is in error - spaces are the only character that generates a warning (not an error). The other characters are fine to use in choices. I'll make a note to update the documentation.
Hi Mike,
Doing some testing, it looks like the documentation is in error - spaces are the only character that generates a warning (not an error). The other characters are fine to use in choices. I'll make a note to update the documentation.
James, thank you for the update and I appreciate the feedback.
Hi @JamesTedrick ,
Was the documentation updated? It is indicating that the name column in the choices sheet should not contain special characters. There doesn't appear to be any Excel warnings/errors on the survey file.
Should this refer to the list_name column? Can special characters/spaces be placed in the choice sheet 'name' column? I recall seeing some issues manifest from this but can't find any further documentation to confirm or back this up.
Cheers
status?
In my experience there was at least 2 or 3 issues tied to choice name value handling when they have special characters, within the Survey123 platform. There were also more issues when the values move to the rest of ArcGIS e.g. file geodatabase domain lists. I'm not confident that @JamesTedrick is correct in the documentation should be revised. Based on all of our testing, no, Survey123 and XLSForms are mostly fine when it comes to the data requirements for this list. However I think the documentation is correct and that it's better practice to have database friendly values in this list. Either way, I'd like this cleared up. Would suggest voting for this idea: