Change default value when updating record

380
1
02-18-2020 11:04 AM
BradySmith
Occasional Contributor

I am trying building a web app that uses survey123 to edit existing trail feature in the web browser by appending the "?mode=edit&objectId=1" to the survey url. I was able to open and edit existing records but I was hoping there was a way to auto update a couple of the fields. Is there a way update fields automatically for the user? For example, users can edit records that exist and have a status of "Available" but when submitted, the record status would change to "Pending" and record when the form was first filled out.

0 Kudos
1 Reply
JamesTedrick
Esri Esteemed Contributor

Hi Brady,

Passing values via the field:<FIELDNAME>=<VALUE> parameter should update the values of the form.  Also, please note Ismael's recent post regarding an upcoming change to the mode=edit behavior: Upcoming changes to Survey123 web form's query parameters

0 Kudos