I've got a survey that's published as web form (made via Connect). In it, there's a date field with a constraint of ".>= today()". This works just fine within Survey123 Connect and the field app--any date that is on or after today is accepted. But on the web form, the question is only accepting dates after today.
Any idea what's causing this?
Also, as an aside, the Formulas page seems to have this constraint example backwards:
This formula, when applied to a date field, will prevent the user from entering a value earlier than today:
.<= today()
Solved! Go to Solution.
Hi Nick - this survey was on our QA environment. The issue should be fixed in 3.1.
Hi Nick - can you test this survey: https://survey123qa.arcgis.com/share/20543e3db20845db8214898efec2ece2
That seems to work just fine. Did you do anything differently? This is how my question is set up:
type | name | label | hint | constraint | constraint_message | required |
---|---|---|---|---|---|---|
date | Deadline | Due Date | Select a due date for completing the map. | .>=today() | Please select a due date of today or later. | yes |
Hi Nick - this survey was on our QA environment. The issue should be fixed in 3.1.