Progress bar, only have buttons active if the progress is high enough

Hi

I have 6 different steps in my flow represented by buttons on the apps page, how can disable the corresponding button which relates to the flow steps that is yet to be completed?

Step 1 in progress
step 2-6 inactive

Step 1 done and step 2 in progress
Step 1 and 2 active and Step 3-6 inactive

Step 1, 2 done, and step 3 in progress
step 1, 2, 3 active and step 4-6 inactive

Any good suggestions?

@Michaeljep

I hope you are calling processes from app then on success set a variable to true and use that variable in the visible field of the button

Cheers

The thing is that I’m using a text variable that changes from a to b, then c etc, the variable is stored in dataservice and fetched upon page load.

I would like to give the user the opportunity to go steps back and do changes but prevent them to go forward without completing the previous step

@Michaeljep

Then link the buttons or a field…and once that field is filled or a button is clicked let the next button be activity…in the button events set the next button

Cheers