Closed (fixed)
Project:
Upload element
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
3 Feb 2009 at 19:28 UTC
Updated:
13 Nov 2015 at 18:49 UTC
Jump to comment: Most recent
Comments
Comment #1
alan d. commentedThere are multiple elements nested in the rendered element, so I made a deliberate decision to not to parse any passed in attributes.
The element does have a unique id (as long as all your form elements have unique names), #edit-file-[element name], and the jquery selector "div.upload-element-detail input.form-file" will select these form file input fields.
Guessing that I need to know what you are trying to implement to see if I can help.
I can not remember if I have tried this, but you may be able to implement this yourself by overriding #process with your own function
Eg:
add your process callback: '#process' => array('my_custom_upload_element_expand'),
Add implement something like this:
Again, no test environment to try this on at the moment.
Comment #2
Anonymous (not verified) commentedthanks
Comment #3
Anonymous (not verified) commentedWhat I am trying to do is implement the jquery multifile upload plugin from http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples which requires the class be set to "multi" such that the input tag has to look like
The code above is appears to change the class when I do a print_r, but when I view source it doesn't seem to be therem. hmmm.
Thanks for the start though.
Comment #4
alan d. commentedHi bouton
I'm hoping you got to the bottom of this. I guessing that the jquery plugin was updating the classes? Anyway, closing to clean up the issue queue a bit. Open again if it wasn't working.
Regards