Select to view content in your preferred language

Editor widget - validations

39
1
11 hours ago
MKY
by
Occasional Contributor

Editing attributes in Editor widget needs an event before applying edit. I have columns that their values depend on another column. I tried Form Constraints and Field calculations in Arcade but they do not work for all scenarios. 

If there is a new event like "before-apply-edit", it will help in validating all columns before posting.

Regars,

Markos

 

Tags (1)
0 Kudos
1 Reply
VenkataKondepati
New Member

Hi Markos,

Totally agree — a before-apply-edit event would be super useful for validating or adjusting values before the Editor widget submits the edits.

I’ve run into the same issue when one field depends on another. Arcade constraints and calculations are great for some use cases, but they don’t always work when the logic gets more complex.

If you’re using Developer Edition, a workaround is to hook into the form submit logic manually, validate the fields, then call applyEdits() yourself. But yeah, having a native event like before-apply-edit would make things much cleaner.

Might be worth submitting this as an enhancement request to Esri — I know others would benefit too.

Cheers,
Venkat

0 Kudos