Posts: 46
Threads: 16
Joined: Feb 2014
Reputation:
0
HI
I have a large form with 120+ fields. When editing the form as Admin, changes do not get saved; neither can fields be deleted.
I recently had a problem with one of my hooks and found that I had to run a query to:-
'SET SESSION group_concat_max_len = 10240'
so I suspect this is probably a similar issue? Perhaps due to a MYSQL string length setting in config but does anyone know which one?
Thanks
Posts: 339
Threads: 42
Joined: Apr 2010
Reputation:
2
What version are you using? I'm having trouble with wysiwyg fields in 2.2.6. Solution should be to downgrade to 2.2.5 until the TinyMCE gets updated in the next version.
Alex
Posts: 1
Threads: 0
Joined: Feb 2015
Reputation:
0
Just in case anyone else needs to do this... Add
global $LANG;
at the start of your hook... this worked for me.
Sumer
Posts: 46
Threads: 16
Joined: Feb 2014
Reputation:
0
Apr 29th, 2015, 8:52 AM
(This post was last modified: Apr 29th, 2015, 8:53 AM by grahame.)
Hi
Just thought I'd update this in case anyone else is having the problem.
I started to plough through the source code to see if I could isolate the issue but then it occurred to me to try setting the number of fields displayed to 50 per page. My changes now get saved.
So for clarity: when editing a form and on the 'fields' tab there is a 'Show' dropdown box at the top. By default it is set to 'all fields'. I changed this to 50 per page and my edits were correctly saved to the form.
I suspect there is a length-of-string issue somewhere that. by reducing the number of fields displayed, is avoided.
Posts: 37
Threads: 7
Joined: Dec 2014
Reputation:
0
May 6th, 2015, 7:46 AM
(This post was last modified: May 6th, 2015, 7:47 AM by ADaniel.)
I had noticed a problem with saving edits to my forms as well, in that changes were only being saved if I clicked the "Update" button at the bottom of the form's Fields tab. If I used the "Update" button at the top of the Field's tab, the changes were not saved. This is on version 2.2.6, and the forms are typically 60+ fields in length.