Trigger webform reload from JS

Created on 22 March 2024, 9 months ago

I'd like to trigger a complete reload of a multistep ajax webform (in a block), from custom JS code.
I know it's possible because the "go back to form" link on the confirm page do this.
But I would like to do this from one of my JS function, not only when the user is on the confirm page, but also from any of the webform step.

I tried to use code from the "go back to form" button (in webform_ajax.js), but I don't really understand what is happening inside this file.

Thanx.

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024