<?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 Conditional in Input Masks in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-in-input-masks/m-p/1361129#M53469</link>
    <description>&lt;P&gt;Are you able to use if statements in the Input Mask column? I have a survey that I have two acceptable formats for a field, either 12 or 13 characters. I want to write something like this to change the mask based of the length of the string:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(string-length(.) = 12, xxxxxx-xxxxxx, xxxxxxxx-xxxxxx)&lt;/P&gt;&lt;P&gt;However, I discovered that the text written above becomes the mask. Is there anyway to have two accepted mask?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 20:26:01 GMT</pubDate>
    <dc:creator>Kade_Chapman</dc:creator>
    <dc:date>2023-12-14T20:26:01Z</dc:date>
    <item>
      <title>Conditional in Input Masks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-in-input-masks/m-p/1361129#M53469</link>
      <description>&lt;P&gt;Are you able to use if statements in the Input Mask column? I have a survey that I have two acceptable formats for a field, either 12 or 13 characters. I want to write something like this to change the mask based of the length of the string:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(string-length(.) = 12, xxxxxx-xxxxxx, xxxxxxxx-xxxxxx)&lt;/P&gt;&lt;P&gt;However, I discovered that the text written above becomes the mask. Is there anyway to have two accepted mask?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 20:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-in-input-masks/m-p/1361129#M53469</guid>
      <dc:creator>Kade_Chapman</dc:creator>
      <dc:date>2023-12-14T20:26:01Z</dc:date>
    </item>
  </channel>
</rss>

