Has anyone else experienced this? Today I went to edit a form and made some changes to a Custom Code event in the "On submit" action. Basically just changing a 1 to a 0. When I went to test my form, I noticed the submit button had disappeared. I dragged a new one onto my form, saved, and then was able to test my form. I needed to make another simple change to the Custom Code event, and again the submit button disappeared after saving.
I'm still able to re-add it with a separate save each time, but it's a little frustrating!
HI megana,
Not something that I've seen before except if the form is too large to save, but then it seems that nothing saves. It is possible that increasing max_input_vars will solve this but I'm not certain about that.
Bob
I increased max_input_vars from 1000 to 2000 but nothing changed.
I backed up a lengthy form from another site today and imported it into this problem site. The import went fine, but sure enough the first time I saved it, a ton of fields disappeared. I think that might rule out max_input_vars as the problem...the first site only has max_input_vars of 1000 and is still able to save and re-save the form just fine. Augh!
Both site are running the same version of Joomla and the same version of ChronoForms. I also validated the CF install on the problem site in case that helped, but no luck there either.
Any other suggestions would be much appreciated!
Hi Megana,
v5 does not have any limits on the number of fields, please try to update Chronoforms to the latest v5.0.16 on the site with the problem then try to save a copy of the long form, does it work or still the same issue ?
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
I was going to feel really silly for not double-checking that I had the latest version, but unfortunately it didn't make a difference anyway. 😟 Any other ideas?
Thanks,
-Megan
Hi Megan,
What is the problem at the moment exactly ? you still lose the fields when you save the fresh restored form ?
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
Here's a summary:
1) If I edit Form A and make a minor change, such as renaming an existing field or modifying an event action, the submit button will disappear when I save. I can then re-add the submit button and re-save, and it will be fine. But each time I edit, I have to repeat these steps of save/re-add button/save again.
2) If I add a field to Form A, it will remove the submit button just like in #1, but if I try to re-add it, it will then remove a different field from the bottom of the form instead. In this case, it's behaving exactly as if there's a limit to how many fields I can add.
3) Form B is a lengthy form that was built on a different site and I have no problems editing it on that site. If I export it and import it to the site where Form A is, it imports fine but when I edit it and save it, even without making any changes, a bunch of the fields are then removed.
Hope you can help!
Thanks,
-Megan
Hi Megan,
When you say the field is "removed", you mean removed from the admin wizard interface or not displayed on the form frontend ?
This is Chronoforms v5 ? could you please make sure that you have the latest update applied ?
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
Yep the field is removed from the admin wizard interface. Which means it also does not display on the frontend, since it no longer exists.
I double-checked the extension manager and it is ChronoForms5 v5.0.16.
Thanks,
-Megan
Hi Megan
Could you please send me a backup of the form ? either here or in a PM, and tell me how to produce the problem with that file.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max, I was out of town for a bit, were you able to look into this? Thanks!
I've been working around this by hand-coding new fields in a single Custom Code box instead of just dragging and dropping new elements, but it's not very fun. 😟