evaluate Expressions
Asynchronously evaluates all form expressions. An expression can include Arcade FeatureSet functions, which need to be evaluated asynchronously. Upon completion the task provides a set of FormExpressionEvaluationError providing diagnostic information about errors encountered during evaluation of expressions. An empty list indicates no errors were encountered.
Also fully populates the FeatureForm.elements and each placeholder is replaced by its value.
This method must be called before displaying the feature form in a UI so you can use synchronous methods on form elements. It should also be called after every call to FieldFormElement.updateValue, in order to run any expressions which may depend on that value.
This method will load the FeatureForm.feature if it is not already loaded.
Return
The task object representing the asynchronous evaluation of all contained Arcade expressions.
Since
200.4.0