Forums

Cronoform Actions think the form has not changed

TObject 24 Aug, 2012
Hi, I am a new user of Chronforms.

I created a new email form, and noticed that CheckBoxes group was not being emailed. I searched these forums, and found that I have to add “Handle Arrays” to “On Submit” before the “Email” action.
I have done that, but nothing changed. I still get empty data in the email.

Then I tried adding individual Checkbox fields to the form. But when I go back to the Email action and click on the “Generate Auto Template” – the new template does not pick up the new fields from the form. It is like the changes from the form are not propagating somewhere where actions can read them.

The new fields are displayed on the screen, but “Generate Auto Template” does not see them.

Any ideas what may be happening?

I use Joomla! 2.5.6 and Chronoforms_V4_RC3.4.1_J1.6

Thank you
GreyHead 24 Aug, 2012
Hi TObject,

Do you have two copies of this form with the same name? I can't think what else would explain these symptoms :-(

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.

Bob
TObject 24 Aug, 2012
Bob,

Thank you for your response.

I only have one ChronoForm so far. The initial work was done with Internet Explorer. A couple of hours later I re-edited the form and the Email event with Firefox, and everything started working.

There was definitely some kind of disconnect between the form fields and the events. The debugger was also not showing the new fields, and it was showing the empty CheckBoxes group array, even though some boxes were checked, and the Handle Arrays action was added above Email. I am not sure what was causing the issue; Internet Expolorer, or perhaps the PHP Optimizer, or some cache somewhere, or some metadata not updating (these are just my wild guesses).

It is working now. I will keep an eye for these things in the future.
TObject 24 Aug, 2012
One weird thing I noticed when working with Internet Explorer. When deleting the Handle Arrays action the whole “On Submit” event group (the green box) disappears.

This does not happen in Firefox.
GreyHead 25 Aug, 2012
Hi TObject,

There has been a recent thread where there was a report that deleting the first action in an event deleted the event. I haven't seen that but I think Max is trying to replicate it. This seems uncommon but if it is happening then the fix is to avoid deleting the first action.

Using a PHP Optimizer shouldn't cause a problem but I guess that it might. Site cacheing will cause a problem with forms in the front-end but doesn't usually run in the back end.

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