Skip to main content
May 2, 2025
Question

Validating other fields with Card Layout Button

  • May 2, 2025
  • 4 replies
  • 0 views

Hi,

Requirement, I have an Interface which consists of 4 interfaces inside. Out of the 4 interface one has a Card Layout Button. Upon clicking on the Card Layout button a process model is triggered. But before the process model triggers I want to validate all the fields in the 4 interface if its not blank and need to highlight the mandatory fields to be filled if it blank and only then the process should start. 

Though I have already used the link parameter in the card layout for startprocesslink Im unable to use dynamic link to save local variable and proceed. Kindly help on this.

    4 replies

    stefanhelzle0001
    May 2, 2025

    Did you consider to disable that button until all required data is entered? 

    May 2, 2025

    It should not be disable while clicking on validation should take place.

    stefanhelzle0001
    May 2, 2025

    OK, but then things become complicated as you try to make Appian do something it is not meant to do. Or at least not the way you try it.

    Can you share more about your use case to allow us think about alternatives?

    harshas2775
    May 2, 2025

    You can create 4 variables in UI having card layout. These should hold true or false depending on whether all mandatory fields within related child interface are null or not. You an use refresh to calculate it basis underlying mandatory fields. Have these passed into each of the child interfaces as rule input from main interface . 

    In your parent rule, when user clicks on the card layout put an if else block inside so if all four variables are true then startprocesslink works else show a banner saying Required values are missing or something like that.