I have a Multi Step Form following this tutorial Creating Multi Steps Forms
In my case the form is an Update Form in an SPA and has 8 steps. Here is my scenario…
- The user enters the form via a link ‘id=15’ and gets to step 3.
- They then go off to another page, not bothering to save any changes.
- They enter the form again but via a different link, this time ‘id=37’.
- The data shown in the form is correct BUT they are taken straight to Step 3 rather than back to the beginning of the form at Step 1.
How do I set the value of the variable ‘steps’ to 1?
I thought I could set it in the Server Action, but this doesn’t work.
Community Page
Last updated:
Last updated: