I have Audio filed version 7.x-1.0-beta8 installed and have configured the audio field so that a user can upload up to 10 audio files in one node.
But when I am uploading content I am able to upload only one audio file.The "Add another file" option is not coming.I am using the WordPress player.

I was able to view the "Add another file" option after saving the node and editing it.Why it is not coming while creating the content like the other file uploads

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ktrev’s picture

Priority: Normal » Major
ktrev’s picture

Issue summary: View changes

error in the content field

car3oon’s picture

Issue summary: View changes

I'm facing the same problem with this module and i have the same version as ktrev.
Did anyone find a solution fot that?

fchandler’s picture

I found, if the content type is saved or previewed, then one is able to add another file to the field.

Anonymous’s picture

Status: Active » Needs work
dorien’s picture

I have the same issue, with the normal player. Only allows a second upload when saving and editing again. I use 7x 1.2

zpolgar’s picture

I have the same experience than #5. Multiple upload is only allowed, if the node has been saved before with one audio file.

ssimdev’s picture

Status: Needs work » Needs review
FileSize
1.66 KB

Added ajax settings and submit handler to the upload and remove file in audiofield_field_widget_process().

msajko’s picture

Patch #7 is generated as patch for custom Drupal project and not as patch for this module.
Please upload patch one more time but create it for example like this:

cd sites/all/modules/audiofield/
git diff --relative > ../not-able-to-upload-multiple-audio-files-2055327-9.patch
ssimdev’s picture

Patch for this module part, fixed.

msajko’s picture

Version: 7.x-1.0-beta8 » 7.x-1.x-dev
Status: Needs review » Fixed

Great job

  • msajko committed ef1b3b2 on 7.x-1.x authored by ssimdev
    Issue #2055327 by ssimdev, ktrev:Not able to upload multiple audio files
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.