HOW TO
Applying a constraint to a date question in ArcGIS Survey123 allows users to limit the input within a certain range. This is useful when the input value must meet a specific requirement. For example, when inserting the reported date of harvest as the input, the date must fall within the harvest season.
The following instructions describe how to apply a constraint on a date question in ArcGIS Survey123 Connect:
Note: The workflow below sets the date constraint between 8/1/2019 and 9/30/2019.
if(1=1, '2019-08-01', if(1=0, '0000-00-00','1111-11-11'))
if(1=1, '2019-09-30', if(1=0, '0000-00-00','1111-11-11'))
.<=date(${MAXDATE}) and .>=date(${MINDATE})
Get help from ArcGIS experts
Download the Esri Support App