I came across this on a multistep form where I have two buttons - back and next. Perhaps this could be solved by adding a new property to the plupload form element - e.g. #submit_element - where we could specify what button we want to click using .click() instead of .submit().

I am attaching an initial patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Primsi’s picture

Added documentation. I have also added some single quotes missing in the README.txt

slashrsm’s picture

Status: Needs review » Fixed

Thanks. I also noticed this myself actually. Committed to 7.x-2.x and 7.x-1.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 6884b4a on 7.x-1.x, 7.x-2.x, 8.x-1.x by slashrsm:
    Issue #1935256 by Primsi: Fixed When a form has more than one submit...
  • Commit cf3bf6e on 7.x-1.x, 8.x-1.x by slashrsm:
    Issue #1935256 by Primsi: Fixed When a form has more than one submit...