- Issue created by @Pavel Ruban
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.
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
Alter js logic to keep original submit value so form api can properly handler triggering element op
Active
1.0
Code