<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Survey123 Choice values get stripped of leading zeros in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040230#M33385</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/385397"&gt;@TonyDaSilva1&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/199412"&gt;@E_-_MarieCook__GISS_&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/435719"&gt;@GianniCampanile2&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies for the delay in responding to this.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With 3.12, there was a change in how lists are managed internally.&amp;nbsp; One of the changes addressed a set of BUGs that had been registered regarding the processing of choices with numeric values (for instance, numeric values being used in cascading selects); to address this, choice values are now being converted into a numeric type if possible.&amp;nbsp; While we had this change in the Early Adopter Community for a number of months without issue, we are receiving reports in situations like you describe, where the values are number-like strings that have leading zeros.&amp;nbsp; There are a couple of workarounds that can be used to ensure proper processing:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;If the number has at most 1 leading zero and a known length, it generally is feasible to have a subsequent calculation that prepends the zero by comparing the string-length value; for example, if an example value is 05678 (five digits with a leading zero), the function &lt;STRONG&gt;if(string-length(${q}) &amp;lt; 5, concat(‘0’,${q}),${q})&lt;/STRONG&gt; can be used to add the zero back to the string&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The choices could be altered to be processed as a string by prepending a character (such as ‘_’) and then a subsequent calculation removes the character: &lt;STRONG&gt;substr(${q},1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Both of these workarounds uses a second, calculate question to process the value in the form; this can be used in combination with setting the select_one/select_multiple's bind:esri:fieldType to null so that the intermediate value is not stored.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Given the feedback, we are investigating ways that the type of value in a choice list can be better specified and hope to improve this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Mar 2021 15:39:17 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2021-03-24T15:39:17Z</dc:date>
    <item>
      <title>Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1035972#M33131</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I think there is a bug with string based values for select_one text fields where if the text looks like a integer but is preceded by zeros (000123) it gets stripped and ends up in the feature class like (123).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please fix this.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 16:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1035972#M33131</guid>
      <dc:creator>TonyDaSilva1</dc:creator>
      <dc:date>2021-03-12T16:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1036106#M33142</link>
      <description>&lt;P&gt;HI Tony..&lt;/P&gt;&lt;P&gt;Assuming you use Survey Connect App&lt;/P&gt;&lt;P&gt;For what it's worth.. I my memory serves me correct:&lt;/P&gt;&lt;P&gt;On the Survey pane select your field.. Go all the way out to column S Called bind::esri:FieldType in the drop down select the the data type esriFieldTypeString.&lt;/P&gt;&lt;P&gt;I am not 100% sure that does the trick. But worth while trying &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Kristoffer W Beck (former Senior Supporter for Esri distributor in Denmark)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 19:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1036106#M33142</guid>
      <dc:creator>KristofferWaageBeck</dc:creator>
      <dc:date>2021-03-12T19:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1036260#M33147</link>
      <description>&lt;P&gt;We are experiencing the same issue after the Feb 25 field app update, despite the field type being set to string. Any workarounds,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;?&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;? Thanks, guys!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-03-13 103418.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8388iDA219574AB6944D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-03-13 103418.png" alt="Screenshot 2021-03-13 103418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 17:08:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1036260#M33147</guid>
      <dc:creator>E_-_MarieCook__GISS_</dc:creator>
      <dc:date>2021-03-15T17:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040110#M33377</link>
      <description>&lt;P&gt;We have the same problem too: leading 0 are stripped both from choices lists or from pulldata values. Version 3.11 is fine, version 3.12.244 and 277 have this bug. Even if you define text values in Excel, of using the ' sign to force text it does not work&amp;nbsp; (and in any case it could not work for pulldata).&lt;/P&gt;&lt;P&gt;Field is defintely defined as EsriTypeString.&lt;/P&gt;&lt;P&gt;Gianni&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 11:29:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040110#M33377</guid>
      <dc:creator>GianniCampanile2</dc:creator>
      <dc:date>2021-03-24T11:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040230#M33385</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/385397"&gt;@TonyDaSilva1&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/199412"&gt;@E_-_MarieCook__GISS_&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/435719"&gt;@GianniCampanile2&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies for the delay in responding to this.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With 3.12, there was a change in how lists are managed internally.&amp;nbsp; One of the changes addressed a set of BUGs that had been registered regarding the processing of choices with numeric values (for instance, numeric values being used in cascading selects); to address this, choice values are now being converted into a numeric type if possible.&amp;nbsp; While we had this change in the Early Adopter Community for a number of months without issue, we are receiving reports in situations like you describe, where the values are number-like strings that have leading zeros.&amp;nbsp; There are a couple of workarounds that can be used to ensure proper processing:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;If the number has at most 1 leading zero and a known length, it generally is feasible to have a subsequent calculation that prepends the zero by comparing the string-length value; for example, if an example value is 05678 (five digits with a leading zero), the function &lt;STRONG&gt;if(string-length(${q}) &amp;lt; 5, concat(‘0’,${q}),${q})&lt;/STRONG&gt; can be used to add the zero back to the string&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The choices could be altered to be processed as a string by prepending a character (such as ‘_’) and then a subsequent calculation removes the character: &lt;STRONG&gt;substr(${q},1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Both of these workarounds uses a second, calculate question to process the value in the form; this can be used in combination with setting the select_one/select_multiple's bind:esri:fieldType to null so that the intermediate value is not stored.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Given the feedback, we are investigating ways that the type of value in a choice list can be better specified and hope to improve this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 15:39:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040230#M33385</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2021-03-24T15:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040884#M33420</link>
      <description>&lt;P&gt;This has broken a few questions in many forms I have out for our teams to use.&amp;nbsp; We have a select_one and a select_multiple pulling from a choice list that has values like "00", "09", "10", etc.&amp;nbsp; I'm able to do the null/calculate field trick just fine for the select_one question, but not sure how I can fix the select_multiple.&amp;nbsp; It should be creating a string like "01, 04, 10, 99" and is instead creating "1, 4, 10, 99".&amp;nbsp; Do you have any suggestions on how to fix this?&lt;/P&gt;&lt;P&gt;Besides me, others at my company had field teams and others working where these kinds of values get used in downstream automation workflows that essentially broke when this happened.&amp;nbsp; Is this something that will be logged as a BUG going forward or something the users need to work around correcting?&amp;nbsp; We need to decide if we should be investing in making changes to our automation code to handle this or if we can wait/limp along until a formal change is pushed out.&lt;/P&gt;&lt;P&gt;Thanks for all your help and responses around this.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 23:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040884#M33420</guid>
      <dc:creator>MichaelBrown4</dc:creator>
      <dc:date>2021-03-25T23:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040886#M33421</link>
      <description>&lt;P&gt;We are in the same situation - we have a survey with external choices that relate to an Oracle table.&amp;nbsp; With the latest updated app, I now have to manually fix the data before it can be synced to the Oracle table.&lt;/P&gt;&lt;P&gt;I agree that this should be noted as a bug.&amp;nbsp; Looking forward to a solution to this one.&lt;/P&gt;&lt;P&gt;Thanks as well for the support and responses from Esri!&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 23:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040886#M33421</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-03-25T23:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040959#M33428</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I followed James Tedrick's suggestion and modified the Survey, but in one case it was not possible. We are now watching and modifiyng data manually, and we are thinking about developing a Python daemon that does the same job. We also considered triggers and SOIs , but the decision to go with this effort depends on the time for the patch/new version to be released.&lt;/P&gt;&lt;P&gt;Gianni&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 09:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1040959#M33428</guid>
      <dc:creator>GianniCampanile2</dc:creator>
      <dc:date>2021-03-26T09:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1082705#M36111</link>
      <description>&lt;P&gt;This is a headache for us.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1082705#M36111</guid>
      <dc:creator>TexasMike</dc:creator>
      <dc:date>2021-07-26T15:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1092895#M36758</link>
      <description>&lt;P&gt;Add me to the list of "please consider this less of a bug and more of show-stopper."&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 20:10:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1092895#M36758</guid>
      <dc:creator>DrewMoffitt</dc:creator>
      <dc:date>2021-08-26T20:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1098322#M37183</link>
      <description>&lt;P&gt;Hello, is there an update about that bug? We're using a csv-file as source of the choice-list. So I guess the workaround doesn't work for csv-file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Katharina&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 06:16:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1098322#M37183</guid>
      <dc:creator>KatharinaWerner1</dc:creator>
      <dc:date>2021-09-15T06:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1098750#M37214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/317003"&gt;@KatharinaWerner1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, this has been fixed in the upcoming 3.13 release which will be available this week.&lt;/P&gt;&lt;P&gt;It was originally logged as:&lt;/P&gt;&lt;P&gt;BUG-000138199 - Leading zeros are dropped from the values submitted by the 'select_one' questions in ArcGIS Survey123 3.12.&lt;/P&gt;&lt;P&gt;Please test out your workflow with the latest 3.13 release and let us know if you still encounter any issues.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 23:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1098750#M37214</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-09-15T23:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1098813#M37220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous User,&lt;/P&gt;&lt;P&gt;thanks for your answer. That sounds really great. I'll test as soon as 3.13 is available in Google Play Store. As I read it should be released today?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt; (&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/arcgis-survey123-deprecation-notes-may-2021/ba-p/1055884" target="_blank"&gt;ArcGIS Survey123 Deprecation Notes (May 2021) (esri.com)&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Katharina&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 05:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1098813#M37220</guid>
      <dc:creator>KatharinaWerner1</dc:creator>
      <dc:date>2021-09-16T05:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1099319#M37253</link>
      <description>&lt;P&gt;Version 3.13. works fine for us! Thanks and have a nice weekende,&lt;/P&gt;&lt;P&gt;Katharina&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 11:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1099319#M37253</guid>
      <dc:creator>KatharinaWerner1</dc:creator>
      <dc:date>2021-09-17T11:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1181646#M43193</link>
      <description>&lt;P&gt;I am concatenating text fields (defined as string and have an input mask such as '999') that can contain leading zeros. While the text fields retain their leading zeros, once they are concatenated the leading zeros are dropped. Example: field1=080 and field2=009, when concatenated with a "-" between the two fields the result is 80-9. I need it to be 080-009. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 21:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1181646#M43193</guid>
      <dc:creator>RM_-_AmyOrtner__GISS_</dc:creator>
      <dc:date>2022-06-09T21:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321776#M51364</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like toFixed should be built into Survey123 connect forms for this issue&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 17:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321776#M51364</guid>
      <dc:creator>JoshConrad1</dc:creator>
      <dc:date>2023-08-23T17:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321783#M51365</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/196035"&gt;@RM_-_AmyOrtner__GISS_&lt;/a&gt;&amp;nbsp; It would be great if you can share an XLSForm to illustrate the problem. I created my own XLSForm based on your description and I do not lose any leading zeroes.&lt;/P&gt;&lt;P&gt;Attaching animation with the behavior I see and the XLSForm I used.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Concat.gif" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78952iC5686A8C102458DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Concat.gif" alt="Concat.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 17:46:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321783#M51365</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-08-23T17:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321801#M51367</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could this be used for necessary trailing zeros? Or maybe the question actually would be:&lt;/P&gt;&lt;P&gt;I am working on a form with a geotrace field, utilizing calculated lat/long information. I am running into some instances in the calculations where the ending number is a "0", which gets cut off in my form.&lt;/P&gt;&lt;P&gt;Is there a way to utilize the toFixed functionality built into the feature report within a survey123 form? or some kind of function/restraint/calculation i can utilize?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 18:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321801#M51367</guid>
      <dc:creator>JoshConrad1</dc:creator>
      <dc:date>2023-08-23T18:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321815#M51368</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/385397"&gt;@TonyDaSilva1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reverse Engineer Ismael's first response below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey123-leading-zeros-for-integer/td-p/806983" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/survey123-leading-zeros-for-integer/td-p/806983&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 18:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321815#M51368</guid>
      <dc:creator>JoshConrad1</dc:creator>
      <dc:date>2023-08-23T18:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Choice values get stripped of leading zeros</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321892#M51374</link>
      <description>&lt;P&gt;Ismael, shortly after posting my problem with the leading zeros, I found a way to make it work. I'm not sure exactly what I changed, I think it may have been defining the field type as string, but it has been working. Here is what the xlsx looks like now.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AOrtner_2-1692821798333.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78979iA72273F7524BAFF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="AOrtner_2-1692821798333.png" alt="AOrtner_2-1692821798333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 20:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-choice-values-get-stripped-of-leading/m-p/1321892#M51374</guid>
      <dc:creator>AOrtner</dc:creator>
      <dc:date>2023-08-23T20:17:58Z</dc:date>
    </item>
  </channel>
</rss>

