AnsweredAssumed Answered

Require Attribute Entry/Validation Before Save or Deselect

Question asked by wpgis5673 on Oct 23, 2017

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.

Outcomes