Fill a date field with current date/time using custom URL?

151
1
07-29-2020 05:22 AM
TimFlynn
New Contributor III

Is there a way to fill a date field with the current date/time using a custom URL?  I'm using the survey123 webform and accessing it using Web AppBuilder.  There are two dates, an assigned date and an inspection date.  The inspection date would be entered in a mode=Edit URL.  We're also using Chrome as the browser.

Thanks

Tags (3)
0 Kudos
1 Reply
Philip-Wilson
Esri Notable Contributor

Hi Tim,

How did you create the survey, via the web designer, or Survey123 Connect? This should be possible to achieve if you set the data calculation to now() or today() in the survey123 xlsx form, and do not populate it by the URL scheme, let it be populated by the calculation when the survey opens. Only populate the inspection date via the URL.

Regards,

Phil.

0 Kudos