I am just installed chronoforms on my site. On previous site it was working perfect with same steps..
But now it's sending mail without validating them. It can send empty mail. I enabled JS validation and set required fields.. But it just sending emails.. Can't get why.
But now it's sending mail without validating them. It can send empty mail. I enabled JS validation and set required fields.. But it just sending emails.. Can't get why.
Hi ninJo,
All I can say is that obviously something is different . . . but nothing in your post gives me any clue what that might be :-(
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
All I can say is that obviously something is different . . . but nothing in your post gives me any clue what that might be :-(
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
User Name
Password
Remember Me
Forgot your password?
Forgot your username?
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => Contacts-Copy
[event] => submit
[Itemid] =>
[input_text_0] =>
[Phone] =>
[input_text_2] =>
[input_text_9] =>
[input_textarea_3] =>
[chrono_verification] =>
[input_submit_4] => Submit
[6b99e93d3117be5bbad53e47721c3462] => 1
)
Validation Errors:
Array
(
)
Thank you!
Our agent will contact you soon
Debug Data
email
10
Result An email has been SENT successfully from ****.com to *****.com
Body
Name
Label Text
Email
Subject
Message
Enter the code
Submitted by *******
Attachments array ( )
**
Also I noticed that validator works in test mode in separate window, but doesn't work inside site.
Password
Remember Me
Forgot your password?
Forgot your username?
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => Contacts-Copy
[event] => submit
[Itemid] =>
[input_text_0] =>
[Phone] =>
[input_text_2] =>
[input_text_9] =>
[input_textarea_3] =>
[chrono_verification] =>
[input_submit_4] => Submit
[6b99e93d3117be5bbad53e47721c3462] => 1
)
Validation Errors:
Array
(
)
Thank you!
Our agent will contact you soon
Debug Data
10
Result An email has been SENT successfully from ****.com to *****.com
Body
Name
Label Text
Subject
Message
Enter the code
Submitted by *******
Attachments array ( )
**
Also I noticed that validator works in test mode in separate window, but doesn't work inside site.
When I am applying another template - it's ok. But I can't understand what makes the problem for validator... I tried to remove all JS from template, but it doesn't help.
Also I am using almost the same template structure as on previous template, where it was working good.
Also I am using almost the same template structure as on previous template, where it was working good.
Hi ninJo ,
Please post a link to the form so I can take a quick look. It's almost certainly a JavaScript error on the page.
Bob
Please post a link to the form so I can take a quick look. It's almost certainly a JavaScript error on the page.
Bob
Hi ninJo,
Your template (or some other component) is loading the jQuery JavaScript library.
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:
There is also a neat plugin named JB Library from Joomla! Bamboo and another named InterExt from AcuIT that allow you to control on which pages jQuery is loaded, and will always load it in no-conflict mode. However these requires that JQuery is loaded using the Joomla Document object methods. The InterExt extension allows you to select menu items to load JQuery.
I have a tutorial on Resolving jQuery problems that explores some of the issues an diagnostics and shows how to modify one template example to use the Joomla! Document methods to load JQuery in noConflict mode.
Bob
Your template (or some other component) is loading the jQuery JavaScript library.
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 and another named InterExt from AcuIT that allow you to control on which pages jQuery is loaded, and will always load it in no-conflict mode. However these requires that JQuery is loaded using the Joomla Document object methods. The InterExt extension allows you to select menu items to load JQuery.
I have a tutorial on Resolving jQuery problems that explores some of the issues an diagnostics and shows how to modify one template example to use the Joomla! Document methods to load JQuery in noConflict mode.
Bob
Thank you, it's very usefull info.
Is there way not to use JS for validation form and make it regular as on this site?
Is there way not to use JS for validation form and make it regular as on this site?
Hi ninJo,
You don't have to add validation but that makes it harder for your users to complete the form correctly. Better not to use JQuery on Joomla! sites unless it is set up properly.
Bob
You don't have to add validation but that makes it harder for your users to complete the form correctly. Better not to use JQuery on Joomla! sites unless it is set up properly.
Bob
To my sorrow nothing helps...
I can't get the reason why. It also has'nt option to validate without JS. I think I will choose another contact form for this site.
For this site I need validation, to avoid spam attacks from bots.
I can't get the reason why. It also has'nt option to validate without JS. I think I will choose another contact form for this site.
For this site I need validation, to avoid spam attacks from bots.
Hi ninJo,
Remove the JQuery, or put it into noConflict mode and the validation will be OK.
Bob
Remove the JQuery, or put it into noConflict mode and the validation will be OK.
Bob
I removed all scripts.. Jquery, mootools, everything. Tried to add noConflict.. But it just doesn't work.
ALso to what file I can add noConflict?
In JS folder I have 4 files.
ALso to what file I can add noConflict?
In JS folder I have 4 files.
This topic is locked and no more replies can be posted.