Clear fields in ArcGIS Survey123 using an Expression?

258
2
01-25-2024 04:35 AM
CMcDonald
Occasional Contributor II

Hello,

as far as I am aware there is no way to clear a form but I wondered if I could create a rule based on a field? I have created a "Single select" field and thought I could perhaps "Set rule" to clear the populated responses in some other fields?

CMcDonald_0-1706185859590.png

Thank you

0 Kudos
2 Replies
DougBrowning
MVP Esteemed Contributor

You can use a calc of '' for empty string.  You can end up with the little cycle icon though so test it.

0 Kudos
abureaux
MVP Regular Contributor

The image is of the Surveys Site filter, but the question is phrased like they are looking for a way to "reset" a survey in progress?

Assuming the later, if your select_one is empty, you can add this to the relevant column of anything you want to "reset": ${my_select_one_name}=''

Anything that is hidden by a relevant column expression is essentially "reset to default".

0 Kudos