After Forms exceed a certain size the placement of items are locked in their location in using both js drag and drop or the old weight variable system. This is a very odd bug and does not seem to be locked to one size. Only that at some point items become "unmoveable" which is an issue when adding additional nested fieldsets.

Comments

quicksketch’s picture

Could you specify how many components make up "a certain size"? I've heard users setting up forms with several hundred components. When you say it's "locked", does that mean you can't even set the weight manually? Webform should automatically increase the number of weight choices as you add additional components.

jmomandown’s picture

I would estimate a 100+ components (each set in various fieldsets) with a high complex conditional large pool set as well.

When I say locked, I mean they can't be moved, even by weight. They can't be made mandatory or modified in anyway. I am wondering if this issue is related to the other thread we are talking on: Same Page Conditionals Not Working

I am currently running through a module check to see if there is an unknown conflicting module causing these. Stay tuned.

jmomandown’s picture

This is sadly not a module conflict. It is inherient to something within the new webform branch (was not an issue with branch 3.x), and I sadly have no clue of what direction to point towards.

All I can say is that I still feel the issues are related and obvious have something to do with the js since the same page conditionals are not dynamically changing and the large forms don't allow moved items to be saved in anyway.

I did create a new form to make sure, and the new form worked as expected, minus the same page conditionals

JFreed’s picture

I believe I also have this issue. Have you found any useful information about why this might be happening?
Ordering seems to work fine on my local dev but bugs out on the server but does not give any error that I can see. Perhaps a server setting?

JFreed’s picture

I found that setting the follow resolved the issue

max_input_vars = 3000
suhosin.post.max_vars = 3000
suhosin.request.max_vars = 3000

i did also set register_long_arrays but i dont think this had an effect but just incase.

quicksketch’s picture

Category: Bug report » Support request
Priority: Major » Normal
Issue summary: View changes
Status: Active » Fixed

Thanks @JFreed, I ran across that same problem not too long ago. This was also resolved the same way (using max_input_vars) in #2088035: Cannot add components or move them around with large forms (400+ components).

Status: Fixed » Closed (fixed)

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