<?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: Using a Mask makes the input required even when the atribute is not visible? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830175#M18184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hector. I had a look at your survey. Here are some&amp;nbsp; notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The reason why Survey123 does not let&amp;nbsp; you submit values is because you are combining an input mask with a decimal type of question. Your input mask&amp;nbsp; is by default creating a value which is not a valid decimal number. Unless the user types a proper decimal value, Survey123 will&amp;nbsp; complain.&lt;/LI&gt;&lt;LI&gt;I suggest that you change the question type to text to avoid the above behavior.&amp;nbsp; If you want your pH values to be stored as a number in the geodatabase, then use the &lt;EM&gt;bind::esri:fieldType&lt;/EM&gt; column to set the target esri field to be &lt;EM&gt;esriFieldTypeDouble&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There are&amp;nbsp; two&amp;nbsp; more issues with this survey:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some values in the NAME column of the Survey worksheet are highlighted in red. This is because they are repeated. Values in the Name column must be unique.&lt;/LI&gt;&lt;LI&gt;In the choices worksheet, you also have values in the Name column that are invalid. Values in this column must not contain spaces or include non-ascii characters.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I am attaching a modified version of your survey for you to try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative approach for pH values may be to make the question types decimal, remove the input mask and add a constraint that will ensure values are within 0 and 14. Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2016 21:04:08 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2016-10-11T21:04:08Z</dc:date>
    <item>
      <title>Using a Mask makes the input required even when the atribute is not visible?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830172#M18181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added a &lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;body::esri:inputMask to a decimal type &lt;STRONG&gt;pH&lt;/STRONG&gt; value in my form using the documented sample "&lt;SPAN&gt;B9.99;-" The field&amp;nbsp;&lt;/SPAN&gt;should be optional but adding the mask makes it a require since the form never validates when the value is left empty. In addition to this the &lt;STRONG&gt;pH&lt;/STRONG&gt; value has a &lt;STRONG&gt;relevant&lt;/STRONG&gt; constraint where it only shows up given a specific condition so even when the attribute is not visible the survey123 returns an invalid warning. Also tried adding a default value of 0 but continued to get the same error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;Any idea as how to solve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 18:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830172#M18181</guid>
      <dc:creator>HectorMelendez-Alvarado</dc:creator>
      <dc:date>2016-10-06T18:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Mask makes the input required even when the atribute is not visible?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830173#M18182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expected behavior is that an input mask filters the user&amp;nbsp; input to prevent the user&amp;nbsp; from typing an entry that does not conform with your mask. Input masks should not however prevent you from submitting the survey.&amp;nbsp; For example, if your input mask is &lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;&lt;SPAN&gt;B9.99&lt;/SPAN&gt;&lt;/SPAN&gt; but you do not flag your question as required, you are expected to be able to submit the survey even if you leave the answer empty.&amp;nbsp; It may be best if you share your survey (attaching the survey to a comment in this thread using the advanced editor) so we can have a closer look at your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also let us know what is the version of Survey123 you are using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 01:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830173#M18182</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2016-10-11T01:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Mask makes the input required even when the atribute is not visible?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830174#M18183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've attached the survey form. The &lt;STRONG&gt;pH&lt;/STRONG&gt; value&lt;STRONG&gt;s&lt;/STRONG&gt; (there are two) only show when the first value of the form is either&amp;nbsp;"Cuenca" or "Playa". I'm using the latest version of survey123 connect 1.8.27&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 13:15:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830174#M18183</guid>
      <dc:creator>HectorMelendez-Alvarado</dc:creator>
      <dc:date>2016-10-11T13:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Mask makes the input required even when the atribute is not visible?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830175#M18184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hector. I had a look at your survey. Here are some&amp;nbsp; notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The reason why Survey123 does not let&amp;nbsp; you submit values is because you are combining an input mask with a decimal type of question. Your input mask&amp;nbsp; is by default creating a value which is not a valid decimal number. Unless the user types a proper decimal value, Survey123 will&amp;nbsp; complain.&lt;/LI&gt;&lt;LI&gt;I suggest that you change the question type to text to avoid the above behavior.&amp;nbsp; If you want your pH values to be stored as a number in the geodatabase, then use the &lt;EM&gt;bind::esri:fieldType&lt;/EM&gt; column to set the target esri field to be &lt;EM&gt;esriFieldTypeDouble&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There are&amp;nbsp; two&amp;nbsp; more issues with this survey:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some values in the NAME column of the Survey worksheet are highlighted in red. This is because they are repeated. Values in the Name column must be unique.&lt;/LI&gt;&lt;LI&gt;In the choices worksheet, you also have values in the Name column that are invalid. Values in this column must not contain spaces or include non-ascii characters.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I am attaching a modified version of your survey for you to try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative approach for pH values may be to make the question types decimal, remove the input mask and add a constraint that will ensure values are within 0 and 14. Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 21:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830175#M18184</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2016-10-11T21:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Mask makes the input required even when the atribute is not visible?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830176#M18185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ismael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've included the inputMask 'B9.99;-' for a decimal question,&amp;nbsp;using the exact same way Hector described - just trying to replicate the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I notice that leaving the question blank will not trigger the invalid warning when submitting the survey result. Does that mean this is no longer an issue and we can use inputMask for a decimal or integer question and do not need to make them 'text'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I am using an inputMask (9000) for my integer question to limit the number of digits,&amp;nbsp;then&amp;nbsp;I remember I saw this post years ago and it seems the behavior had changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sun&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 07:06:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-a-mask-makes-the-input-required-even-when/m-p/830176#M18185</guid>
      <dc:creator>Jing_Sun</dc:creator>
      <dc:date>2020-02-04T07:06:47Z</dc:date>
    </item>
  </channel>
</rss>

