Select to view content in your preferred language

editor widget events issues

75
1
Tuesday
baohuachu7
Emerging Contributor

Is there any event for "editing/create features" window open ?

What I want to do is to validate the input is valid or not ,if not to disable the "create/update" button after the window popup. Before the window popup can not get the button dom.

js SDK verison: 4.28

baohuachu7_0-1752028826551.png

 

0 Kudos
1 Reply
JeffreyThompson2
MVP Frequent Contributor

https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/an-overview-of-attribute-do...

The best way to handle validation is to set Domains on the Feature Layer. The Editor will not allow invalid data to be entered if a Domain is set.

GIS Developer
City of Arlington, Texas
0 Kudos