Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2013-08-12 at 12.39.33 PM.png | 190.67 KB | Dentorat |
Comments
Comment #1
slashrsm CreditAttribution: slashrsm commentedDo 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.
Comment #2
Dentorat CreditAttribution: Dentorat commentedAh, 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