Hello, I just upgraded to 7.14 from 7.12 and encountered an issue that seems to have been anecdotally reported. I have a big webform with a "webform multifile" file selector upload tool thing. The form was all arranged with the uploader at the bottom of the screen. When I did this upgrade, it jumped up to the top left corner, and was immovable. I've attached a screenshot of what it looks like, just embedded into the background with no wrapper.
All the other fields were fine, any that look displaced were from me moving them around trying to figure things out.
I compared the code of the 2 versions of arrange_fields.module and seem to have found the problem, hopefully. Around line 941, there's a check to see what sort of element you're working on, and if it's not one of a couple things, skip it. Here's the 7.12 code:
if ($element_type == "hidden"
|| $element_type == "token"
|| $element_type == "value") {
// Just skip to the next one.
continue;
}
And here's the 7.14 code:
if (!$element_type
|| $element_type == ""
|| $element_type == "hidden"
|| $element_type == "token"
|| $element_type == "value") {
// Just skip to the next one.
continue;
}
I'm not sure where the element_type value comes from, but it seems to not recognize the webform multifile type of component. Swapping these snippets out fixes the problem, as far as I can tell, but hopefully that won't precipitate another one.
Just FYI, thanks for an incredibly useful module.
Comment | File | Size | Author |
---|---|---|---|
arrange-fields-screen.jpg | 197.05 KB | taquil |
Comments
Comment #1
alimbert CreditAttribution: alimbert commentedI am seeing the same behavior! Great tool. but I can't fix the File Field position.
Comment #2
etron770 CreditAttribution: etron770 commentedthe same here
I am not able to move any webform components
Webform 7.x-4.0-beta3
Webform Validation 7.x-1.5
Arrange Fields 7.x-1.14
Comment #3
richardp CreditAttribution: richardp commentedSorry for the slow reply, but this should be fixed in the latest version 1.15.
Richard
Comment #4
etron770 CreditAttribution: etron770 commentedHi Richard,
unfortunately not.
Do you need any other information about other installed modules?
Knut
Comment #5
richardp CreditAttribution: richardp commented@etron770, it sounds like you have a different problem than the original poster. Please open a new issue, describing exactly what is going on.
Richard