Redirection to Custom URL not working after webform submission for multi page form when using a new Submit button

Created on 26 April 2023, almost 2 years ago
Updated 26 May 2023, almost 2 years ago

Problem/Motivation

Redirection to Custom URL not working after form submission for multi page webform when using a new Submit button. Instead you get redirected to the first page of the webform. It works perfectly well with the default Submit button of a webform, but not when you add a new submit button to the webform. This can be seen when using the "URL with message" option in the confirmation type

Steps to reproduce

  • Create a new webform and add form elements under at least two pages
  • Delete the default Submit button and add a new one and keep it in the same position as the default one
  • Select the option "URL with message" under "Confirmation" section of the "Settings" tab and provide a custom URL path
  • Test the form by submitting it
  • The form gets submitted successfully but instead of getting redirected to the custom URL, you land on the first page of the webform

Proposed resolution

Make the behavior same as it is when using the default Submit button

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: cannot reproduce

Version

6.1

Component

User interface

Created by

πŸ‡³πŸ‡±Netherlands nikhileshpaul Eindhoven

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

Comments & Activities

Production build 0.71.5 2024