I'm using plupload on a custom form and if the user doesn't click start upload before submitting the form, the form rebuilds without running through the submit handler. Spitting out the form state shows that it tried to submit using "image_upload_button". I've also included a screenshot of the entire triggering_element array from the form state.

CommentFileSizeAuthor
Screen Shot 2013-08-12 at 12.39.33 PM.png190.67 KBDentorat
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slashrsm’s picture

Do you have more than one submit button on your form? See #1935256: When a form has more than one submit button plupload always submits using the first one if so.

Dentorat’s picture

Category: bug » support
Status: Active » Closed (fixed)

Ah, thanks, I had an image upload field, I wrongly assumed that the submit element was referring to the images upload that plupload was doing. Thanks