AnsweredAssumed Answered

AutoPopulate field

Question asked by njehw2 on May 12, 2014
Latest reply on May 17, 2016 by hchapa89
When one is editing a Feature Layer in the JavaScript viewer and they add a new feature. Is there a way to auto populate a particular field?
I know you can set a default value in the database for that field. But I want the value to be based off of the Day and time in one string of numbers. I read that you can use the before-apply-edits event? How ? is there an example out there that shows this ? Or  any example that shows how to auto populate a field with the editor widget?

Thank you