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've got an upload element in a form that works on a normal page. When the form is loaded in a ctools modal dialog, clicking on the Update button to upload the file submits the form - and the file doesn't get uploaded. Any other fields on the form that were set do get acted on, which is how I know that it is actually submitting the modal dialog.
Comments
Comment #1
Alan D. CreditAttribution: Alan D. commentedI know that the modal dialogs module has issues with file based widgets (filefield etc). Do these work with CTools? This type of field is different to standard fields as it uses a different hook to save the file value.
Comment #2
Alan D. CreditAttribution: Alan D. commentedClosed because Drupal 6 is no longer supported.