Render a Step in the Wizard

  • 1
  • Question
  • Updated 4 years ago
We have steps in the wizard that we want to be conditional based on field values. So for instance, we have Step1, Step2, Step3 and Step4. Step2 would only display if a field called Status = Hold and if not then Step1, Step3, and Step4 would be the only steps?
Photo of Ben


  • 780 Points 500 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 32,106 Points 20k badge 2x thumb
Easiest way I know to do that is to conditionally render the navigate buttons. So, on Step 1 you have two buttons: one that goes to Step 2, one that goes to Step 3, and you use conditional rendering to only show the one that you want.