You need to sign in to do that
Don't have an account?
Eugenia Pestelli
Hide Next/End screen flow buttons
Hi everyone. I created my screen flow with some fields, I have an address field, which I can't make mandatory, I then created a lightining component that shows a simple error message when this field is left blank. I have set the component a visibility, it will only appear when this field is empty. The point is that once this screen appears, there are the standard Back and Next buttons. Back is fine, because the user goes back and fills in the field, the problem is Next, which if the user clicks on it goes to the next step and ends the flow, despite the empty field. I tried hiding next, but even when the address field is filled in, the component is not shown, but neither is the next button, so the user can't do anything. So I was wondering if there was a way to hide the "next" button only under a certain condition (i.e. an empty field). Thank you
You can refer below related links which can help you achieve your functionality
https://salesforce.stackexchange.com/questions/292091/how-to-disable-next-button-in-flow-builder#:~:text=Yes%2C%20you%20can%20if%20you,element%20to%20prevent%20next%20navigation.
https://help.salesforce.com/s/articleView?id=sf.flow.htm&type=5 (https://help.salesforce.com/s/articleView?id=sf.flow.htm&type=5)
https://developer.salesforce.com/forums/?id=9062I000000IDjSQAW
https://www.infallibletechie.com/2020/04/enable-and-disable-next-button-in-flow.html
If this information helps, please mark the answer as best. Thank you