Appian is evaluating validation before I submit, even though the parameter is set.
a!validationMessage( message: "Field is Required", validateAfter: "SUBMIT", showWhen: a!isNullOrEmpty( rule!_process_CurrencySanitizer(a!defaultValue(ri!value, null)) ) )
Why is Appian behaving like that? It should be expecting my submit.
Discussion posts and replies are publicly visible
Component looks to be textField and are you sure you are using a!validationMessage() on textField?This does not support.Silas. B. Ferreira
Please share whole code snipped.
Test fields do not support a!validationMessage().
As Stefan implied, a!validationMessage() is only valid in context of Form or Section components.
for a text field, if you want it to be required and for that to be evaluated at sumbit time, the standard "required" and "requiredMessage" parameters should be sufficient.