<?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: Connect Version 3.17 inputMask is submitting data when users do not provide values in form. It also overwrites the default value. in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-version-3-17-inputmask-is-submitting-data/m-p/1261106#M47617</link>
    <description>&lt;P&gt;&lt;STRIKE&gt;I noticed a potential 3.17 issues as well. This is related to the &lt;STRONG&gt;conditional required&lt;/STRONG&gt; fields and &lt;STRONG&gt;body::esri::visible&lt;/STRONG&gt;.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;When a field is hidden by &lt;STRONG&gt;body::esri::visible&lt;/STRONG&gt;, it seems to be ignoring conditional required statements.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;Everything was working find in 3.16&lt;/P&gt;&lt;P&gt;Found the issue. The logic behind &lt;STRONG&gt;hidden&lt;/STRONG&gt; fields and &lt;STRONG&gt;required&lt;/STRONG&gt; was the issue. I had a couple fields that were hidden that I forgot about. They had &lt;STRONG&gt;required&lt;/STRONG&gt;&lt;STRONG&gt;==yes&lt;/STRONG&gt; and &lt;STRONG&gt;appearance==hidden&lt;/STRONG&gt;. In 3.16, these would be ignored. This has changed in 3.17.&lt;/P&gt;&lt;P&gt;Seems like 3.17 is going to make a few new challenges.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159009"&gt;@Alex-Santos&lt;/a&gt;&amp;nbsp; I would consider using a new calculated field.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new calculate field and name is whatever your current field with the input mask is.&lt;/LI&gt;&lt;LI&gt;Change your old input mask field's name and make it &lt;EM&gt;null&lt;/EM&gt;.&lt;/LI&gt;&lt;LI&gt;And add conditional logic to the new calculate field. Something like &lt;EM&gt;if(&lt;/EM&gt;&lt;EM&gt;string-length(${field}&amp;gt;5,${field},'')&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 23 Feb 2023 21:39:28 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2023-02-23T21:39:28Z</dc:date>
    <item>
      <title>Connect Version 3.17 inputMask is submitting data when users do not provide values in form. It also overwrites the default value.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-version-3-17-inputmask-is-submitting-data/m-p/1261052#M47616</link>
      <description>&lt;P&gt;Hi, I just upgraded to version 3.17 and I'm noticing that inputMasks are entering values matching the mask even when a user does not enter values in the question. This wasn't happening in version 3.16, arg.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have an inputMask set to &lt;STRONG&gt;99:99 \AM - 99:99 PM&lt;/STRONG&gt; so users can enter hours of operation - &lt;STRONG&gt;08:00 AM - 08:00 PM&lt;/STRONG&gt;. Well now if users enter nothing, I get&amp;nbsp; &lt;STRONG&gt;:&amp;nbsp; AM -&amp;nbsp; :&amp;nbsp; PM&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Additionally, I have a default value 'Closed' if user answered previous question as 'Closed.' I am using&amp;nbsp;body::esri:visible in hours of operation to hide the question and not clear out default.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="inputMask-overwrite.PNG" style="width: 343px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63548i68F5E6DD406042CC/image-dimensions/343x496?v=v2" width="343" height="496" role="button" title="inputMask-overwrite.PNG" alt="inputMask-overwrite.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to fix this so that the attribute is just left blank or it respects default value?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 18:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-version-3-17-inputmask-is-submitting-data/m-p/1261052#M47616</guid>
      <dc:creator>Alex-Santos</dc:creator>
      <dc:date>2023-02-23T18:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Version 3.17 inputMask is submitting data when users do not provide values in form. It also overwrites the default value.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-version-3-17-inputmask-is-submitting-data/m-p/1261106#M47617</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;I noticed a potential 3.17 issues as well. This is related to the &lt;STRONG&gt;conditional required&lt;/STRONG&gt; fields and &lt;STRONG&gt;body::esri::visible&lt;/STRONG&gt;.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;When a field is hidden by &lt;STRONG&gt;body::esri::visible&lt;/STRONG&gt;, it seems to be ignoring conditional required statements.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;Everything was working find in 3.16&lt;/P&gt;&lt;P&gt;Found the issue. The logic behind &lt;STRONG&gt;hidden&lt;/STRONG&gt; fields and &lt;STRONG&gt;required&lt;/STRONG&gt; was the issue. I had a couple fields that were hidden that I forgot about. They had &lt;STRONG&gt;required&lt;/STRONG&gt;&lt;STRONG&gt;==yes&lt;/STRONG&gt; and &lt;STRONG&gt;appearance==hidden&lt;/STRONG&gt;. In 3.16, these would be ignored. This has changed in 3.17.&lt;/P&gt;&lt;P&gt;Seems like 3.17 is going to make a few new challenges.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159009"&gt;@Alex-Santos&lt;/a&gt;&amp;nbsp; I would consider using a new calculated field.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new calculate field and name is whatever your current field with the input mask is.&lt;/LI&gt;&lt;LI&gt;Change your old input mask field's name and make it &lt;EM&gt;null&lt;/EM&gt;.&lt;/LI&gt;&lt;LI&gt;And add conditional logic to the new calculate field. Something like &lt;EM&gt;if(&lt;/EM&gt;&lt;EM&gt;string-length(${field}&amp;gt;5,${field},'')&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 23 Feb 2023 21:39:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-version-3-17-inputmask-is-submitting-data/m-p/1261106#M47617</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-02-23T21:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Version 3.17 inputMask is submitting data when users do not provide values in form. It also overwrites the default value.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-version-3-17-inputmask-is-submitting-data/m-p/1263701#M47779</link>
      <description>&lt;P&gt;Hey thanks for the suggestion, but haven't been able to resolve just yet. The 3.17 field app still submits empty input mask values so for now I think I'll remove input masks.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 19:40:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-version-3-17-inputmask-is-submitting-data/m-p/1263701#M47779</guid>
      <dc:creator>Alex-Santos</dc:creator>
      <dc:date>2023-03-02T19:40:42Z</dc:date>
    </item>
  </channel>
</rss>

