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
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.