Skip to main content
saraha1139
February 13, 2023
Question

Validation in Form Steps

  • February 13, 2023
  • 10 replies
  • 0 views

Hello, 
I'm new to Appian, and I'm trying to build main page report which is quite similar to this "Form steps".

However, each step has to show specific interface by using rule!tInterface1. My question is how can I check the validation for all of these steps at the end of the report and show a summary for all of the errors, e.g. "Step1 has an error". 
P.S. an error sign appears by "default" in the section that contains an error, Can I check if the section has this sign or not?

Thank you in advance!

    10 replies

    stefanhelzle0001
    Brainy
    February 13, 2023

    Why not validate each step and continue only if everything is fine?

    In Appian, a UI component that is not shown, is not evaluated at all. So its also not validated.

    saraha1139
    February 13, 2023

    Thank you Stefan for your reply!
    The business requires to not stop at any step unless the submit button is pressed. Thus, the summary of error messages will appear.

    February 13, 2023

    call interfaces at each step, if something is breaking then you will get error at that step and also you can fix it.

    saraha1139
    February 13, 2023

    Thanks for your reply!
    That what I already did I called each interface in separate step, but I'm not sure how can I check the validation and print it in the summary box "This box will contain all the error messages when the user press submit at the end of the form"

    February 13, 2023

    Use a local variable to store all of them.