Progress Stepper Form Submission
Hi, I am trying to create a form in steps with a conditionally rendered next/save and back buttons to help the user progress through the form. Currently, the stepper logic and conditional rendering of the label of the button is working fine, but I can not get the save function to trigger on the last button click. I am using to different workflows to trigger the different behaviors desired based on the stepper index.
Desired behaviors:
1)when the button is clicked & stepper’s(the repeating group) current index (which is managed by custom state) is less than the stepper’s steps(custom state):count
→ current step +1
2)when the button is clicked & stepper’s current index is the stepper’s steps:count
→ implement save function
- The button label is managed by the button’s Label property and the conditions are based on the stepper’s current step and whether it is the last step or not.
The error occurs as soon as I am on the las step and click the save button. The debugger shows the trigger to increment the currentStep fail, and as soon as I click the next function an alert appear informing me that the page has been updated and needs to be refreshed to be up to date. The second trigger to implement the save function never runs.
Here’s some additional context.


