Select to view content in your preferred language

Prevent user from submitting geopoint if horizontal accuracy threshold is not met

254
3
Jump to solution
04-04-2025 04:33 PM
Labels (1)
chill_gis_dude
Frequent Contributor

Is there a way to truly prevent a surveyor from submitting if they are not within a certain horizontal accuracy threshold? I know you can set a threshold in the   column, but it only gives a warning and the user can still techincally submit. Is there a way to completely prevent a surveyor from submitting if they don't meet that threshold?

We basically have surveyors who are moving way too fast (because they have a lot of ground to cover in a day) and they ignore the warning causing their points to be up to a mile off the actual location.

0 Kudos
1 Solution

Accepted Solutions
chill_gis_dude
Frequent Contributor

I added a field called "child_pa" to calculate the horizontal accuracy and set it's type to calculate with field type double. I added the calculation "pulldata("@geopoint",${location},"positionAccuracy")" to its calculation field. Then in the geopoint question I added the constraint ${child_pa}<1 but it was not working. I realized you cannot set the geopoint question's appearance to hide-input because then it won't consider the calculated horizontal accuracy. After removing the hide-input it worked. 

View solution in original post

0 Kudos
3 Replies
ChristopherCounsell
MVP Regular Contributor

Put it in the threshold and the constraint column, with a constraint message.

https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-xlsforms-and/ba-p/...

chill_gis_dude
Frequent Contributor

Do you think it's possible that having the geopoint be read only and hide-input is interferring with it?

0 Kudos
chill_gis_dude
Frequent Contributor

I added a field called "child_pa" to calculate the horizontal accuracy and set it's type to calculate with field type double. I added the calculation "pulldata("@geopoint",${location},"positionAccuracy")" to its calculation field. Then in the geopoint question I added the constraint ${child_pa}<1 but it was not working. I realized you cannot set the geopoint question's appearance to hide-input because then it won't consider the calculated horizontal accuracy. After removing the hide-input it worked. 

0 Kudos