1

I have built a form using the flow builder and I would like the "Next" button to be disabled until all required conditions are met.

Is this functionality possible to implement using the flow builder?

1

You can do this, but not without creating an Aura-Component.

At first you have to create the component and make sure it implements the lightning:availableForFlowScreens-Interface (so you can use it inside the flow). A good place to start would be: Customize the Flow Footer with an Aura Component

Than by defining some parameters in the components design file you can pass values from your flow to the component. Depending on this values you could hide/display the buttons.

Inside your flow-screen you can disable the default-footer, and replace it with your new custom component.

1

Yes, you can if you're not using sub-flows, then just unchecked Next/Finish. enter image description here

If you are using a subflow, the aforementioned won't prevent the navigation, you would of to use a boolean output variable then outside of the subflow create a decision element to prevent next navigation.

1
  • I just want it to be disabled when all required conditions are not met. If all required conditions are met I want the next button to be enabled. That was my question.
    – Nino Y
    Jan 24 '20 at 23:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.