[workaround] Save/Apply Buttons Don't Work When Email Added

elehost 04 Jul, 2009
Hello,

I am using Joomla 1.5.11 with Chronoforms 3.0 STABLE.

I copied a form to create a mirror copy on a site and now when I try to add in an e-mail to send the data to (even if I just add the basics -- To, Form, E-mail, Subject) and I get the green box surrounding the e-mail list then I can not save the form (apply / save) does not work.

If I don't add an e-mail and seemingly do everything else it saves / applies fine.

I wonder if there is anything simple here to fix this? I suspect this is something to do with the custom php coding I have added in the form area or it has to do with the e-mail templates not working correctly.

As soon as I delete the email from the "Setup Emails" section the save button works.

What is odd is I use this program all the time and this is the first time seeing this issue.

Any tips on how to debug the problem would be greatly appreciated.

Thanks,

Paul
hemant 04 Jul, 2009
I am facing the same problem,I am not able to save/apply the setup emails.

It says: Error on Page (the standard javascript error).Please help

kumar
elehost 04 Jul, 2009

I am facing the same problem,I am not able to save/apply the setup emails.

It says: Error on Page (the standard javascript error).Please help

kumar



Hi Kumar,

That gave me a hint so thanks for posting that. It is clearly a Javascript problem. I took a look and it seems to get stuck at certain points.

The error I am seeing at the moment is:

Error: form.name.value is undefined
Source File: index2.php
Line: 312

and another time it was:

Error: element.getProperty("name") is null
Source File: index2.php
Line: 448

Oddly, I am not even referencing the field "name" in my test email or form anymore and it still references this.

Clearly this references the field name in the actual e-mail form being added and not the form code. I even tried no dynamic fields to see if I can get the most basic e-mail to be added and no luck (same error).

Anyhow I decided to hold my nose 🤣 and try Internet Explorer and it worked after I tried it twice. I am not sure what might be going on here with my Firefox but I was able to get it to work with IE so all seems well now. I suspect it had to do with a combination of custom php code, the copying of the form that created the problem in Firefox.

I still find it odd it has been working flawlessly for so many months and suddenly it stopped. I guess that must mean it is a local setting on my part or bad luck 😶

Regards,

Paul
Max_admin 04 Jul, 2009
Hi Paul, Kumar,

Did you create the form using the wizard ? if no then please make sure that all your fields at your HTML code do have the name attribute!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.