HI there,
At 4.23, we added a support for contingent attribute values in FeatureForm: https://developers.arcgis.com/javascript/latest/release-notes/#featureform
You should be able to use this without having write a code to keep the integrity of your data.
Is there a sample that you can point me to? Trying to figure out how the Arcade component would fit into this.
In my example: A user digitizes a polygon, selects a domain/subtype and then the arcade calculation updates a different field based on math/equation that is applied when the subtype is selected.