I'm trying to update the URL on a successful webform submission, with an inline ajax confirmation. The form works and submits fine and I already have a custom Drupal ajax command to
history.push setup, but cannot figure out how to hook into the confirmation flow.
I have tried:
- Adding a custom callback to $form['actions']['submit']['#submit'] and returning an ajax response from that callback
- Adding a custom handler, but can't see where I could add the functionality necessary