I have conditional navigation in my power apps form and controls are visible based on the respective steps in the form so i hide and show controls and for step 1. 2 i have Form2 and from step 1,1.1,2,3,so on Form1 controls though data source is sharepoint list getitem (list name) It is same for both Form1 and Form2.
So issue im facing is with next button and the below code is working properly when i click on select next button to each steps but there is a logic in step 1 when i toggle on i do not know name and management approval is not required checkbox it navigates to step 1.1 and then step 1.2 and remaining steps but this code is skipping step 1.2 but im not sure on select of Next button
Next Button ->on select property
If(
varStep = 1,
Set(
varStep,
varStep + Value("0.1")
),
varStep = Value("1.1"),
Set(
varStep,
varStep + Value("0.9")
),
Round(
varStep,
2
) = Value("1.2"),
Set(
varStep,
varStep + Value("0.8")
),
Set(
varStep,
varStep + 1
)
)