Require Attribute Entry/Validation Before Save or Deselect

254
0
10-23-2017 11:56 AM
KeithGerhartz1
Occasional Contributor II

My app uses the editor and attribute inspector widgets. I would like to force attributes to be present (and validated) before the user is allowed to click off of the feature or otherwise select another feature by clicking on an associated data grid.

I know that I can replace the applyEdits method with my own custom method that is called from a save button. However, I have not been able to figure out a way to prevent the user from simply clicking off and creating a feature that does not carry the required attributes.

Any ideas would be most appreciated.

0 Kudos
0 Replies