Recently all of my forms with file upload fields reset those fields to the top of my forms, overlaying the previous layout I set with Arrange Fields. When I went in to put them back in their proper place, I was unable to drag them. There is no longer anything to grab onto.

This may have had something to do with a recent update to Drupal 7.12 core, which if i recall added ajax style file upload capability?

I was hoping you had heard of this issue, although recent searches yielded nothing. Any thoughts or ideas would be appreciated.

Thank you.

Comments

richardp’s picture

Yikes-- sorry, no I haven't heard of this issue yet. That definitely sounds like a javascript conflict to me. It sounds like the "draggable" behavior is never being attached to those fields.

I have not yet updated to D7.12, is there any way to turn off the ajax-style file uploads? And if so, does that fix the problem?

Also, are there any other modules you might have installed along with D7.12, which might possibly be interfering?

Richard

lr25plt’s picture

Richard,

Thanks for the quick response and support. I have no idea how to turn this capability off or alter whatever is interfering. I did however temporarily solve the problem and gain control over the positioning again by putting my file uploads into a field set. However you wish to label the status of this issue is fine by me, but I definitely see something interfering with an otherwise perfectly fine module.

I'll check back for any other user's comments regarding the issue.

Bill

richardp’s picture

Well, I think I will keep this as Active until I can test it out on my test box. If it is some conflict with Drupal core, that would be a pretty serious problem for this module.

Ron Williams’s picture

I also recently had this error appear.

richardp’s picture

Well, I tested and I cannot reproduce. I am using Drupal 7.12. I enabled the File module, to let me do file fields, and I created a test file field with default options selected. I was able to drag it around, save, and rearrange wherever I liked.

Is there some other File module I should use?

Richard

lr25plt’s picture

Hi Richard,

I wish I could help more. Maybe Ron Wilson, posting above can add more about what his circumstances were. I think you replicated what I am doing exactly, so I'll let you know if I notice any changes in the future, but there must be something happening if there are two of us.

Thank you,
Bill

Ron Williams’s picture

@richardp: I tested again with a new webform and the same error occurred within Drupal's admin theme after updating core + modules to the latest version. No console errors appeared.

richardp’s picture

I think I misunderstood, or we are talking about different things. I tested the File field, part of Drupal core. Are you guys using Webform instead? Is this a Webform add-on, and if so, please tell me what version of Webform you are using.

Richard

seemas’s picture

Hi Richard,
I also can not drag webform filefield
Clean D7.12 Installation webform 7.x-3.17 + Arrange Fields 7.x-1.8

Ron Williams’s picture

Yes, this is within the webform addon.

sah62’s picture

I'm seeing the same behavior with a webform: all fields work fine except for file upload fields, which get moved to the top of the form and then can't be dragged. I'm running Drupal 7.14, Arrange Fields 7.x-1.8, and Webform 7.x-3.18.

richardp’s picture

Version: 7.x-1.8 » 7.x-1.9
Status: Active » Fixed

Okay everyone, I'm sorry about the delay on this. I think I may have a fix. Please try the latest version, 7.x-1.9. Basically, I had to change the way that the draggable wrappers are added around elements.

I tested, and on my test machine, I can indeed move around the file upload field.

Remember to leave some space around it, since if the user tries to upload an invalid file, that is where the message will be displayed.

Richard

richardp’s picture

Title: Can not drag file upload fields all of a sudden. » Can not drag Webform file upload field

(changing title to be more specific)

lr25plt’s picture

Richard,

That did the trick for me, thank you for the great module and the support.

Bill

sah62’s picture

Works for me - thanks for the update!

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