<?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: Constraint message in Web Form persists during correct answer in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807802#M12522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has this been fixed? I am using version 3.7.62 and still encountering this issue. I have a calculated integer, and a constraint on that calculate to say .&amp;gt;0&lt;/P&gt;&lt;P&gt;The constraint message does not go away even after that calculation shows any integer greater than 0. The end user is still able to submit, however some users are confused and don't hit submit because it still looks like an error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2020 17:38:57 GMT</pubDate>
    <dc:creator>FinneyCountyGIS</dc:creator>
    <dc:date>2020-03-05T17:38:57Z</dc:date>
    <item>
      <title>Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807791#M12511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a survey published as a web form, I've noticed that constraint messages for certain questions will always display, regardless of the user input provided. This applies to custom constraint messages as well as the the default "It's an invalid answer" (when the constraint_message column is left blank). The constraint itself is triggered appropriately, turning red only when an incorrect input is provided, but the message displays the entire time (even before an input is provided), no matter what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, I've seen this happen with text, integer, and date fields, but not yet a select_one. This occurs in both Firefox and Internet Explorer browsers. I don't recall this happening before version 3.1, but I didn't do enough web form testing to be certain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fact that this behaviour is only within the web form, and even then is inconsistently applied to different question types, leads me to believe this is a bug, but I wanted to check here to make sure it's not just me. Is anyone else experiencing this? And if so, can anyone who hasn't upgraded to 3.1 test this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 17:55:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807791#M12511</guid>
      <dc:creator>NickDierks1</dc:creator>
      <dc:date>2018-11-05T17:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807792#M12512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. This could be a BUG. Could you please share the XLSForm so we can have a closer look? If you do not want to share the XLSForm attached to this thread, feel free to email the survey to &lt;A href="mailto:survey123@esri.com"&gt;survey123@esri.com&lt;/A&gt; referencing this GeoNet thread.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 06:52:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807792#M12512</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2018-11-06T06:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807793#M12513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing; attached is the test form I used to confirm it wasn't unique to my other survey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 15:05:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807793#M12513</guid>
      <dc:creator>NickDierks1</dc:creator>
      <dc:date>2018-11-06T15:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807794#M12514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm seeing the same thing as Nick and (pretty sure) I didn't see it when I first published forms from Connect around 10/23 (using v 3_0_149) but then upgraded in November (to v 3_1_126) and now see the constraint messages, on load, in the webforms.&lt;/P&gt;&lt;P&gt;Confirming also that field app version still works as normal and that for webforms, the constraint shows regardless of custom vs default message and that it is on two different types of constraints ( a date field and an email field) (see pic below).&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="430846" alt="" class="image-1 jive-image" height="420" src="https://community.esri.com/legacyfs/online/430846_Capture.GIF" width="465" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 21:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807794#M12514</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2018-12-04T21:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807795#M12515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have also encountered this issue (and others) using the new S123 version 3.1.126.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/226119"&gt;Connect vs. Web form functionality: repeats, calculations, relevant statements &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/432075_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;In another thread(&lt;A href="https://community.esri.com/thread/205058"&gt;Survey123 Connect .&amp;amp;gt;now() constraint not working&lt;/A&gt;&amp;nbsp;) I read that date isn't validating or being enforced until the end of the survey (until submitting).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Integer fields too as stated above.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/432076_pastedImage_207.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had to abandon constraints and relevant statements in some cases just to get a working web version of a Survey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 09:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807795#M12515</guid>
      <dc:creator>PhillipBailey</dc:creator>
      <dc:date>2018-12-20T09:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807796#M12516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any word about when we can expect this to be fixed? It looks very unprofessional to have the message appear or if no constraint is specified it just states the the answer is invalid when it is not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 15:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807796#M12516</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-01-14T15:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807797#M12517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikholai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is planned to be addressed in our late February release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 21:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807797#M12517</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-01-23T21:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807798#M12518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has the version with this fix been released yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 17:07:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807798#M12518</guid>
      <dc:creator>deleted-user-gdY-GmN0uDXr</dc:creator>
      <dc:date>2019-02-25T17:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807799#M12519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tested and this was&amp;nbsp;NOT fixed with the 3.3.51 release! In addition, it seems like the default condition for my observation date field (today()) is now not being added on load to the webform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="438549" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/438549_Capture.GIF" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/438550_Capture2.GIF" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 21:20:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807799#M12519</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2019-03-01T21:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807800#M12520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;A href="https://community.esri.com/migrated-users/265243"&gt;Treg Christopher&lt;/A&gt;‌ mentions above, this issue ended up not getting resolved in version 3.3, and is now scheduled for version 3.4 in May (source: &lt;A href="https://community.esri.com/migrated-users/3966"&gt;Ismael Chivite&lt;/A&gt;‌'s &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2019/02/26/new-britain-release-33#comment-70795"&gt;comment in the 3.3 release notes thread&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's not a survey-breaking issue, but I'm very much looking forward to it being resolved. Fingers crossed!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 22:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807800#M12520</guid>
      <dc:creator>NickDierks1</dc:creator>
      <dc:date>2019-03-01T22:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807801#M12521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The update appears to have been completed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invalid:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/452581_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valid:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/452582_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 17:20:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807801#M12521</guid>
      <dc:creator>ElliottPlack1</dc:creator>
      <dc:date>2019-07-08T17:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807802#M12522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has this been fixed? I am using version 3.7.62 and still encountering this issue. I have a calculated integer, and a constraint on that calculate to say .&amp;gt;0&lt;/P&gt;&lt;P&gt;The constraint message does not go away even after that calculation shows any integer greater than 0. The end user is still able to submit, however some users are confused and don't hit submit because it still looks like an error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 17:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807802#M12522</guid>
      <dc:creator>FinneyCountyGIS</dc:creator>
      <dc:date>2020-03-05T17:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807803#M12523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After testing, here is what i found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field "Total Points". I don't want the user to modify the total points so it is a read only field. When the user answers questions the points get totaled but the message doesn't go away.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I turn off read-only and type in a value the message goes away. So it seems to be a problem with the calculation not triggering the constraint to validate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 17:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807803#M12523</guid>
      <dc:creator>FinneyCountyGIS</dc:creator>
      <dc:date>2020-03-05T17:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807804#M12524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My location constraint on web from is working fine. It is a read-only note field, has a calculation to sum 2 integer fields (int(${ValidX}) + int(${ValidY})), and a constraint of&amp;nbsp;.=2 so it won't show the constraint message unless the calc doesn't sum to 2. Just tested the web form (&lt;A class="link-titled" href="https://survey123.arcgis.com/share/a384e90f69744f2e846135a9ce80027f" title="https://survey123.arcgis.com/share/a384e90f69744f2e846135a9ce80027f"&gt;https://survey123.arcgis.com/share/a384e90f69744f2e846135a9ce80027f&lt;/A&gt;&amp;nbsp;) and it does in fact show the constraint message and prevent the user from submitting until they correct their location.&lt;/P&gt;&lt;P&gt;So I think in general, constraints in web forms seems to be working as expected, since the 3.4 or 3.5 release. In my situation with a spatial constraint, ideally the constraint would be on a hidden field (instead of a note field) because the constraint message shows on form load...so a&amp;nbsp;a little messy&amp;nbsp;looking but it is good enough for now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thought is that since you are using a note field, I think the calc needs to be cast to integer ( e.g. my calc is:&lt;SPAN&gt;int(${ValidX}) + int(${ValidY})&lt;/SPAN&gt; ), otherwise it might read the result as a string and then the constraint wouldn't fire if it is expecting&amp;nbsp;your integer value of&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;.&amp;gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 19:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807804#M12524</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2020-03-05T19:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807805#M12525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My "Total Point" field was hidden with the&amp;nbsp;bind::esri:fieldType set to esriFieldTypeInteger. However when adding the constraint to the hidden field it would still let them submit with 0 points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I change my "Total Point" field to&amp;nbsp;an integer (not a note field) that i made read only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My calculation&amp;nbsp;for the "Total Point" field:&lt;/P&gt;&lt;P&gt;int(${MandatorySM_1}) + int(${VoluntarySM_1}) + int(${DeptStretching_1}) + int(${SDS_Review_2}) + int(${PPE_Inspection_2}) + int(${VehicleToolInsp_2}) + int(${Cleaning_2}) + int(${SafetySuggestion_2}) + int(${SafetyReport_2}) + int(${SafetyCommitteeMeeting_2}) + int(${DailyStandWalk_2}) + int(${PresentSafety_5}) + int(${NearMissReport_5}) + int(${SafetyImplemented_10})&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My constraint is for the "Total Point" field:&lt;/P&gt;&lt;P&gt;.&amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 20:05:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807805#M12525</guid>
      <dc:creator>FinneyCountyGIS</dc:creator>
      <dc:date>2020-03-05T20:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint message in Web Form persists during correct answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807806#M12526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That all looks right to me...Sorry I can't think of anything else as to why yours isn't working.&lt;/P&gt;&lt;P&gt;And yeah, hidden constraints don't seem to work on the web form (but do in the field app). This would be a nice feature that I would love to see working in the web form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-message-in-web-form-persists-during/m-p/807806#M12526</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2020-03-05T22:06:53Z</dc:date>
    </item>
  </channel>
</rss>

