Chronoforms initializing twice causing two mail sending

rahuljob12 28 Sep, 2012
Hi

I am having one issue with chronoforms that it sends two emails each time the form is submitted.
One email with values and another with variable names in it.

I have checked the forms and they are set to send only one static mail to admin.
I looked into the code and found out that chronoforms is initialized or running twice each time on each event.

So now I dont know what to do with this issue.

I have Joomla 1.5.18 and Chronoforms v4 RC 3.5.
and also mootools 1.2 running fine.

Can anyone help me with this..?

Thanks in advance.
GreyHead 28 Sep, 2012
Hi rahuljob12,

Normally there is no problem so I guess there is something with your setup that causes this. Do you have any Event Loop or Redirection action that might be re-loading ChronoForms?

Bob
rahuljob12 28 Sep, 2012
Hey GreyHead,

Thanks for the quick reply.

I'm not doing any redirection or loop in the form.
here is the screenshot attached
GreyHead 28 Sep, 2012
Hi rahuljob12,

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
rahuljob12 01 Oct, 2012
Hi GreyHead,

Here is the attached form.

And also I have found out one another thing that when I test the form by Test Form icon in Wizard edit it sends only one mail and when I submit the form by frontend view it sends two mails.
:?

Hope you can help me sort this out quickly.

Thanks
GreyHead 01 Oct, 2012
Hi rahuljob12,

The form is OK. There is nothing there that will send two emails.

The difference between the Test View and the FrontEnd view is that the Test View shows the form without the template. So the problem lies with something in the template display.

Is the form shown twice on the page?

Do you have a Google+ button on the page (we know that these can cause a second email to be sent)?

Bob
rahuljob12 01 Oct, 2012
Hi GreyHead,

Thats what I was also wondering that if chronoforms is loaded twice then why the form is shown only once on frontend..??
But I checked again and confirmed that chronforms is loading twice but showing form html once.

I dont have Google+ button but I am using Google Calendar on the site.

Thanks for that hint I will look into both Google Calendar and current template.
GreyHead 01 Oct, 2012
Hi rahuljob12,

Please post a link to the form so I can take a quick look.

Bob
GreyHead 01 Oct, 2012
Hi rahuljob12,

Thanks for the link - I don't see anything unusual on the page itself :-(

Please will you add a debugger to that form and I'll take one more look.

Bob
rahuljob12 01 Oct, 2012
Hi GreyHead,

I have added debugger in on load before show html and in on submit before email sending.

Please check.
GreyHead 01 Oct, 2012
Hi rahuljob12,

Hmm . . . that only shows one email too :-(

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

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