Renamed Submit Doesn't Work

Created on 8 March 2025, about 1 month ago

Problem/Motivation

When you alter submit name e.g. from submit to checkout, on submit click payment processes fine but after submit programmatic click form doesn't do submission and submit leads to the previous form step instead of completing it.

Steps to reproduce

I used webform wizard but I guess it also doesn't work in any form with more than 1 submit where first submit is not the main one. So you change submit #value to checkout and see how js behaves

Proposed resolution

Alter js logic to keep original submit value so form api can properly handler triggering element op

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇷Greece Pavel Ruban

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

Comments & Activities

Production build 0.71.5 2024