Forums

Form update removes all setup actions

artonezero 29 Jun, 2016
Hi

I've added the latest Gsheet action extension and ran some tests on new forms to see if it's working. All seems well, so i went to add the Gsheet action to an existing form. All i did was change the field names to have the GSheet[field_name] format and add the Gsheet action without any info in it for now. Upon saving all the setup actions are removed! The formatting for field names is fine, but all my actions are removed. Is this a bug or is there a fix for this?

Thanks
GreyHead 29 Jun, 2016
Hi artonezero,

Sorry I don't have any explanation for that. My best guess is that there might be a PHP error that is preventing the form loading correctly in the Editor, Is anything visible in the page source if you set site Error Reporting to Maximum temporarily and open the form?

Bob
artonezero 29 Jun, 2016
Hi Bob,

It definitely removes the actions. thought it seemed to be related to the GSheet, but not.

If i build up the actions again they don't save, only render form saves. it also removed the on submit event completely with all actions in it ( emails, db save, tcdpdf redirect) and I can't seem to re-enter them anymore.

However this is only on existing forms i want to modify, as i created a test form with simple text fields, and connected that to a GSheet without any problems on the same site.

Any ideas? os should i send over login details.

Thanks
artonezero 29 Jun, 2016
Forgot to add i did set error reporting to max, and didnt show up anything unusual.
GreyHead 29 Jun, 2016
Hi artonezero,

By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
woodlawn 23 Jan, 2017
Hi this is the exact problem I am having. I have been editing the form in the db itself, which is now problematic. Kind of defeats the purpose of the component. What was the fix?

Thanks!
Max_admin 24 Jan, 2017
Hi woodlawn,

Please make sure you have the latest update and that the "safe save" feature in the Chronoforms settings is enabled and configured to a low number of fields, you may also increase the "max post vars" setting on your server.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
woodlawn 24 Jan, 2017
Hi Max

Thanks for the suggestion. Here's what happens when I turned on Safe Save (it was off), set the number of fields to 5 (it was 20). my max_input_vars is set to 3000 (it was 1000).

Instead of saving and removing all setup actions, I now get the save failed error:

Save Failed
A form title is required and should NOT have any spaces or special characters.

Do you have any suggestions of what to try next?

Thanks!

-Blair
woodlawn 24 Jan, 2017
I'm sorry I should have added that the form clears off, and a new empty form is displayed when I hit save. There is no special characters or spaced in my original form name (MembershipForm2017)

Thanks
woodlawn 24 Jan, 2017
Update: I just set the error reporting to maximum, and when saving the form with a new name (or any saving) I get the following error:

Notice: Undefined index: serialized_form_data in /administrator/components/com_chronoforms5/chronoforms/chronoforms.php on line 158

I am using the latest version FYI, since I did not explicitly confirm that. I appreciate any help in resolving this/

Thanks

-Blair
Max_admin 24 Jan, 2017
Hi Blair,

A solution is to keep the safe save off and increase the max vars to say 7000 or higher.

Please try that and let me know.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
woodlawn 24 Jan, 2017
Hi Max

That did it, thanks for your help!

-Blair
This topic is locked and no more replies can be posted.