Forums

SOLVED: lost fields in email notification

sistemi.informativi 27 Mar, 2012
Dear support team,
i have used chronoform componentS to embed A contact form in one joomla Article THROUGH their plug in.
The Form records the data into a database and sends one HTML email with the fields.
All the Fields on the forms are required but sometimes i receive emails without some fields. I have already done the debug of the form , but i cannot understand what happened, what the error / Bug is
I have Joomla 2.5.3 , PHP 5.3.10 , chronoforms 4.0 RC3.21 , URL rewrite by Sh404SEF, Gantry Framework and Template installed .

Can you support me to solve the problem ?

thanks.
GreyHead 28 Mar, 2012
Hi sistemi.informativi,

Is this the same problem as your other post which is now solved?

Bob
sistemi.informativi 29 Mar, 2012
No. it's not the same that i have just send by form contact us of the site.
i continue to receive a few email without some field.
in the form i have set all field required .

thk
GreyHead 30 Mar, 2012
Hi sistemi.informativi ,

hard to tell without seeing some examples.

Is the validation working on your form?

Is all the data missing or just some inputs?

Are these spam emails?

Bob
sistemi.informativi 30 Mar, 2012
Is the validation working on your form?
i don't undestand .

Is all the data missing or just some inputs?
only some imputs , very often the email imputs

Are these spam emails?
No. ( i think no )

the site is
http://www.falcotto.com/it/store-locator
( there are 2 form one for each language )
GreyHead 30 Mar, 2012
Hi sistemi.informativi ,

You have a mess of JavaScript on the site (I think I counted three differente versions of the jQuery library being loaded) and, as a result the client-side validation isn't working. You need to either fix the mess and get jQuery into noConflict mode or add server-side validation to your form.

Bob

Out of the box jQuery isn't compatible with the MooTools library used by Joomla! and ChronoForms. You can use jQuery with MooTools in no-conflict mode. There are various ways of doing this. The simplest - which may or may not work - is to add a line of script in the ChronoForms Form JavaScript box:
jQuery.noConflict();
This will free the $ operator which is used by MooTools, so you may need to update your own javascripts to use the longer jQuery operator.

There is also a neat plugin named JB Library from Joomla! Bamboo that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode. However this requires that JQuery is loaded using the Joomla Document object methods.

I have a tutorial on Resolving jQuery problems that explores some of the issues an diagnostics and shows how to modify o
sistemi.informativi 02 Apr, 2012
thanks for your support .
can you help me to find the problem ?
i have checked the page and i find that
there is only one version of jquery , one jquery plug in and mootools.

can you indicate me where do you find the other 2 Jquery versions. ?

other how to set jQuery.noConflict (); on chronoform ?

If i test the page by Firefox and Firebug , i never see the Jquery conflict. with other versions or mootools.

thanks in advance .
GreyHead 02 Apr, 2012
Hi sistemi.informativi,

Sorry, I was wrong there are only two copies of jQuery plus some jQuery based files.

I'm afraid that if you choose to use jQuery on Joomla! then it's up to you to sort out the problems that causes. I've given you links to some reaources that may help you. Sometimes it's easy, sometimes it get very messy :-(

Bob
sistemi.informativi 05 Apr, 2012
Hi GreyHead,
I found one solution to solve the problem.

My problem happen only with IE9 during the validation.

Go on : Chronoforms > Forms Manager > Wizard edit
On the right Column > Events > On Load
Add "Custom Code" field with this code :
<?php
// Force IE9 to run in IE8 emulation mode to avoid JS errors with Mootools 1.2.5
jimport('joomla.environment.browser');
$browser =& JBrowser::getInstance();
if ( $browser->getBrowser() == 'msie' && $browser->getMajor() == 9 ) {
   $doc =& JFactory::getDocument();
   $doc->setMetaData( 'X-UA-Compatible', 'IE=EmulateIE8', true );
}

?>

ADD "Load JS" Field : Dinamic Files=yes code: jQuery.noConflict ();

Save..
Finish into chronoforms.

I use the plugin to embed the form in one article.
i add the Html Tag <div></div> for the form in the article .
Example:
<div>{chronoforms}myforms{/chronoforms}</div>

hope this help you.

Enjoy...
GreyHead 05 Apr, 2012
Hi sistemi.informativi,

Good to see that you found the answers that you needed in the forums here.

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