Going back to previous wizard step on update query error

Getting started with the Wizard component

I’m using the wizard component to provide a form in a step and then save the form data with an update query in a virtual step. When I’m on the virtual step, how can I go back to the previous step if the update query returns an error (e.g., a form input validation fails)?

I discovered I can set the step ID for the wizard component back to the form step in the update query Failure Event handler.

Thanks for the update, @axelclark! Welcome to the community. :slightly_smiling_face:

1 Like