Select to view content in your preferred language

Additional fields, toggling on and off

199
1
2 weeks ago
GISAdministrator_LMCC
Occasional Contributor

Hi, we have implemented field maps tasks, and so far working well. We have established mandatory additional fields that are required to be entered by field staff based on certain task types.

Field staff have reported that it would be great, if there is a valid entry placed, that the field doesnt appear at all, so to indicate it has been entered. (some tasks require a multiple fields to be entered) and wondered if this would be possible?and if so, how can this be done

(ive marked on the additional question field, so a entry is placed, if that field disappears once a valid entry is in place) 

 

0 Kudos
1 Reply
ChrisDunn1
Esri Contributor

Hi @GISAdministrator_LMCC ,

You can attach visibility expressions to individual actions as well as layouts, you can find more specifics here: https://doc.arcgis.com/en/field-maps/latest/prepare-maps/configure-tasks.htm#ESRI_SECTION3_9BBCD48B7....

For this case, you should be able to use a visibility expression on the action that will make it show the action is only shown if the required field is empty, such as:

!IsEmpty($feature.depth)

This will return true if the field doesn't have a value, and false if it does have a value. When it evaluates to false, the action won't be shown.

I hope that helps.

Chris

0 Kudos