AnsweredAssumed Answered

Is it possible to set default values for fields with the Editor widget?

Question asked by zaloudek on Dec 2, 2019
Latest reply on Feb 6, 2020 by edjdempsey

I'm exploring using the Editor widget (with version 4.12) in a web map.  This web map asks users to draw a polygon, then attribute the polygon with comment text and contact info.  There are 6 fields for the user to fill out. 


Since I'm asking folks to add multiple polygons, I'd like to cut down on the amount of typing they have to do by pre-populating the contact info fields.  I have a splash screen that asks for this info when they first get to the web map, so it's already saved to string variables in my JS code.  Can I assign these values to the text boxes in the Editor widget right after a user completes a new polygon, so they don't have to repeatedly type in these values every time they add a new feature?  This seems like something that could be in the layerInfos > fieldConfig property.