Select to view content in your preferred language

Setting Up Constraints in Smart Forms

118
1
2 weeks ago
CASSIEANGERER
New Contributor

Has anyone had luck setting up constraints in Smart Form for Field Maps? For example, I have two date fields that staff will enter. I want to make it so that the second date field must be after the first date field.

 

I know this can be set up in attribute rules and portal, but we only have ArcGIS Online, not portal. 

0 Kudos
1 Reply
RhettZufelt
MVP Notable Contributor

A couple options.  You can put either a visibility or editable expression on the first date field similar to.

!IsEmpty($feature.DateField)

This way, the second date field will either not even show in the form OR not allow anyone to edit it unless there is a value in the first date field.

R_

 

0 Kudos