<?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 Text Field - only allow digits and a separator in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1192960#M43767</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I'm trying to figure out how to allow only digits (0-9) and a separator (preferably commas) in a text field in Survey123. It would ideally also show up as a number pad even though it's a text field. I've previously set the appearance to numbers but this only allows for integers or decimals, aka no commas or spaces.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 15:30:55 GMT</pubDate>
    <dc:creator>KellyTaylor</dc:creator>
    <dc:date>2022-07-18T15:30:55Z</dc:date>
    <item>
      <title>Text Field - only allow digits and a separator</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1192960#M43767</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I'm trying to figure out how to allow only digits (0-9) and a separator (preferably commas) in a text field in Survey123. It would ideally also show up as a number pad even though it's a text field. I've previously set the appearance to numbers but this only allows for integers or decimals, aka no commas or spaces.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 15:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1192960#M43767</guid>
      <dc:creator>KellyTaylor</dc:creator>
      <dc:date>2022-07-18T15:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Text Field - only allow digits and a separator</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1193503#M43783</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/43349"&gt;@KellyTaylor&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use a regular expression in the constraint column to limit the input to only be numbers and commas. The regular expression would be&amp;nbsp;regex(.,'^[0-9,]*$') which would go in the constraint column, and you can provide a constraint message as you see fit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you would like to use the number pad you can also set the bind::type to Int and set the appearance to numbers. That way Survey123 will treat the question as an integer question but in reality it's being stored as text.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:09:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1193503#M43783</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2022-07-19T16:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Text Field - only allow digits and a separator</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1193511#M43788</link>
      <description>&lt;P&gt;Hi Zach,&lt;/P&gt;&lt;P&gt;Thanks so much for your reply. Your solution is *almost* perfect for what I'm trying to do except that when appearance is set as numbers, there is no comma available on the number pad that displays.&lt;/P&gt;&lt;P&gt;Any thoughts on a workaround for that?&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1193511#M43788</guid>
      <dc:creator>KellyTaylor</dc:creator>
      <dc:date>2022-07-19T16:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Text Field - only allow digits and a separator</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1193518#M43789</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/43349"&gt;@KellyTaylor&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you switch the bind::type to decimal and keep the numbers appearance depending on your locale you will see a decimal or comma. If you are in a comma separated locale you will see a comma otherwise if you are in a decimal locale then you will see a decimal. That would be the closest in terms of an appearance that we would have. Otherwise if you keep the bind::type as integer or decimal with no appearance the default number pad on the OS will be used which may have a comma.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1193518#M43789</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2022-07-19T16:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Text Field - only allow digits and a separator</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1193536#M43791</link>
      <description>&lt;P&gt;Hmm, ok. It seems like I might have to shift directions and just make it a repeat rather than having the user use a separator. Thanks so much for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 17:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/text-field-only-allow-digits-and-a-separator/m-p/1193536#M43791</guid>
      <dc:creator>KellyTaylor</dc:creator>
      <dc:date>2022-07-19T17:06:36Z</dc:date>
    </item>
  </channel>
</rss>

