1

I'm using the Plupload integration module and the problem is that once the users select the files, they think that they have already uploaded the files. No matter how obvious, bold and huge you make that "Start upload" button, most of them just ignore it. Plus it is not a good user experience.

What I need is for the "Start upload" button to disappear and the upload of the files into Plupload should begin automatically as soon as the files are selected. Would someone be kind enough to suggest how can this be done?

1 Answer 1

2

As given in the readme file of this module add following autoupload property to your form element as shown below.

$form['my_element'] = array(
  '#type' => 'plupload',
  '#title' => t('Upload files'),
  '#description' => t('This multi-upload widget uses Plupload library.'),
  '#autoupload' => TRUE,
);

I have tried it and in works fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.