Select to view content in your preferred language

esri:bind:warning

466
2
09-21-2023 11:59 AM
AmandaBeck
Regular Contributor

I need help with the esri:bind:warning column in survey123 connect. I have a geopoint question where I want a warning to show if submitter selects a point outside of a polygon on my basemap. 

 

I know how to use the constraint, but with this, it does not allow the submitter to submit the survey anyway. 

 

Any help would be greatly appreciated, 

 

Thank you! 

0 Kudos
2 Replies
abureaux
MVP Frequent Contributor

Should be the same I thought.

Your exact scenario is specifically mentioned in Survey123 Tricks of the Trade: XLSForms and location quality

You can also use apply these expressions to the constraint and bind::esri:warning columns of a geopoint question. If you apply them to the constraint column, the end user will not be able to submit the survey unless the expression evaluates to true and the map panel will be highlighted in red.   This is what is known as a hard constraint.  If you apply them to the bind::esri:warning column, the map panel will be highlighted in yellow when the expression is not met.  This will simply give end users a visual clue indicating that something is wrong with the location data.  That is a soft constraint.

0 Kudos
AmandaBeck
Regular Contributor
I thought the same thing - however when I enter the same as I would for the constraint column, the warning does not appear in my survey at all.
0 Kudos