Validation not refreshing when navigating interfaces

Hello All,

I have an issue wherein my validationMessage is not removing after clicking cancel button. My scenario is I have a User Form that whenever I click submit it will show a message "All fields are required". After that I will now click the Cancel Button. However, when I go back to the Form my validation is still there. Can anyone explain to me how can I prevent that from happening?

Here's my validation

a!validationMessage(
message: "You must fill up both roles and email address!",
validateAfter: "SUBMIT",
showWhen: or(isnull(local!email), isnull(local!role))
)

Here's my field

a!textField(
label: "Email",
labelPosition: "ABOVE",
value: local!email,
saveInto: local!email,
refreshAfter: "UNFOCUS",
validations: {}
)

I put the validationMessage under the columnLayout.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to rainier_albario

    I know that you have two interfaces. The way of how to implement this kind of things is just different with Appian. The basic idea is that you have data (Appian Records), UI to display this data and processes to allow a fine grained interaction with the user. These processes are not meant to be another abstract way of manipulating data in DB but a way to express a functional business process.

    In your case it could be: Create user, send email to user, add user to groups assign task to users supervisor to assign application roles and permissions.