Hi there!
I'm having an issue placing new fields and custom code fields into mulitple column containers. For the first 10 fields or so it went fine, but after that it places new fields below the resizable container.. No matter what I try this happens.
In the attached screenshot I tried to place a custom code field inside the container, but it won't work, even though the container is highlighted. It stays highlighted actually..
This is what i'm doing, and as you can see the first 40 elements or so it works fine;
http://www.ask-terwille.nl/index.php?option=com_chronoforms5&chronoform=vragenlijst_middelen
Thanks in advance
Ingmar
Hi Ingmar,
There's no obvious reason why this would happen. Please take a Form Backup using the icon in the Forms Manager and post it here and I'll take a closer look.
Bob
Hi Bob,
I know, I have no idea why it happens.
Attached you find the backup.
Thanks!
Hi Ingmar,
I was able to add ten or so more text boxes in various places with no problem so it looks as though you may be hitting some kind of server limitation.
Using the columns containers does add a lot more elements to the form admin, I'd suggest that you switch to using Custom code if you really need the two column layout. You can create each block in little test form then copy the HTML into a Custom Code element.
Or - possibly better- abandon the three column layout and simplify it? ? ?
Bob
Hi Bob,
Any idea what kind off limitation this might be? We can change pretty much all settings.
My client needs the 3 column layout. It will be a big form with many fields..
The custom code might be an option, but not if they want to change some fields themselves. The designer view is simple enough for them to do that..
Ingmar
Hi Ingmar,
Check for JavaScript errors on the page that might be causing a problem - I don't see anything troublesome when I look. Otherwise max_input_vars can cause problems - set it to 2000 or 3000 - though I'd expect that to stop the form saving, not to stop you dragging new elements in.
Bob
Hi Bob,
I don't get any Javascript errors right now. I have tried the form on three different Joomla sites on 3 different servers/hosting platforms. I also tried disabling CloudFlare, although I'm bypassing the backend anyway.
Can you please login and try if you are able to make a new multiple column container, with a resizable container inside, and then any kind of field inside that? I'm PM'ing you the login.
Thanks,
Ingmar
Hi Ingmar,
I made a copy of your form and have added a couple more rows of containers.
Things to check:
+ You had two forms with the same name. ChronoForms uses the name to identify the form so this can lead to odd errors where you edit the form but the changes don't appear in the front-end. I renamed the second form to xxx_2.
+ A bigger problem: some of the input names started with digits. This isn't allowed in HTML and can cause bigger problems with CF where the names get used in PHP, JavaScript and MySQL and all of these require first letter. In the copy I made I have prefixed all the 'digit' names with the letter a e.g. a2_3_xxx
+ If an element didn't drop neatly into a new container then you can use the Copy and Paste buttons to copy it into the container.
Bob
Hi Bob,
Thanks.
The 2nd form was a copy to try indeed. I started doing the same as you did, put a letter in front of it. No result for the containers.
However, I do not remember if it worked before but now copy/paste works.
Also, when I try on a windows system in Firefox it works, when I try on my Mac system it doesn't..
Anyway, copy/paste resolves the problem for me now.
Thanks Bob!
Ingmar