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

Alan D.’s picture

Title: Update button submits ctools modal dialog » Support ctools modal dialog
Category: bug » feature

I 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.

Alan D.’s picture

Issue summary: View changes
Status: Active » Closed (outdated)