Hi,
I am working on my first drupal project and i want some help with it.
Here is the situation.
I have a form with file upload fields.
I want to let user upload maximum of 4 files.
I dont want all 4 file upload field to display initially, the other file upload fields will display one by one only when user will click a plus (+) sign next to first file upload field. So if user want to upload 3 files s/he will have to press plus (+) sign twice.
Now the problem is.
The 4 file upload fields I am getting now are in table row with class draggable. So basically fields are sortable at this stage. I dont know where this is been done and why.
I just want 4 file upload fields individually without wrapped around table row.
Where can i find things to change this behaviour and get pure markup? :s
The incomplete solution to this problem I've found is.
To set file upload field to "unlimited" in administration section of drupal, and I will have 'Add another' button automatically which I can replace with plus (+) sign. But this will not limit user to upload files to maximum of 4.
Someone please help me.
Thank you in advance.
- Bhupesh