Skip to main content
hema.mathivathanan
April 25, 2024
Question

Forms

  • April 25, 2024
  • 4 replies
  • 0 views

Hi All, 

I have a form like this with multiple steps. For some action, I don't want to display some of the steps. ( For action A, I want to display only the form 2 and for the remaining actions, I want to display all 3)  Now I am storing the label values in a local variable. Can someone help here please on how to have the  conditioning 

local!formSteps: {
"Upload Document",
"Add data",
"Add other details ",

},

 

    4 replies

    konduruc733182
    April 25, 2024

    Have a Parameter which would define the action and display the milestone.

    Have your milestone data in a separate rule which would give output based on a variable. And use this in two different forms if you are using in these in two actions

    hema.mathivathanan
    April 25, 2024

    Thanks Chaitanya, in the showWhen used like a a!match and based on the action name, I am displaying the form steps

    konduruc733182
    April 25, 2024

    you can do that as well. May be if you share your code, it would help me understand better.