Given, step 1 form, step 2 form and step 3 form. Each form has its own form CTA button. Steps 1 and 2 buttons will have button functionality to go to succeeding steps. While the step 3 button has the API request. Additionally, finishing a step allows the user to toggle back to the page to edit form fields.
The problem lies with saving the data passed on the final form. Changes made to a finished step form will only be saved to the state manager and reflected in the API request in step 3 form is to click the updated form designated CTA button.
Example,
in logistics registration, the user has already moved on to the last step form (step 4) but wants to edit data in steps 2 and 3. The user will then click the step number above the page and the application will render the selected step form. Then the user will now see and will be able to edit the form input fields. After editing input fields, if the user directly redirects back to step 4, through the step toggles above the page, and clicks the final CTA submit will not have updated data from the edit step form.
Given, step 1 form, step 2 form and step 3 form. Each form has its own form CTA button. Steps 1 and 2 buttons will have button functionality to go to succeeding steps. While the step 3 button has the API request. Additionally, finishing a step allows the user to toggle back to the page to edit form fields.
The problem lies with saving the data passed on the final form. Changes made to a finished step form will only be saved to the state manager and reflected in the API request in step 3 form is to click the updated form designated CTA button.
Example,
in logistics registration, the user has already moved on to the last step form (step 4) but wants to edit data in steps 2 and 3. The user will then click the step number above the page and the application will render the selected step form. Then the user will now see and will be able to edit the form input fields. After editing input fields, if the user directly redirects back to step 4, through the step toggles above the page, and clicks the final CTA submit will not have updated data from the edit step form.