Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× Contact Enhanced is a contact component manager created to replace Joomla! core contacts component and add lots of advantages and new features (see Features ) and it offers many plugins and modules for several different purposes,
Product page | Documentation Page

No field validation

13 years 7 months ago #3815 by jlemay
Hello,

I have a form that, when it is filled, successfully sends the information via e-mail.

However, the only validation that seems to take place is for the captcha's validation code.

All other fields, even those marked as required, are ignored when the form is submitted.

Is there a setting I can change, or is a file missing?

Please Log in or Create an account to join the conversation.

13 years 7 months ago #3816 by douglas
Dear jlemay,

There might be a javascript incompatibility.
Can you please provide a direct link so I can take a look?

Regards,

Please Log in or Create an account to join the conversation.

13 years 7 months ago #3817 by jlemay
Hello Douglas,

Here is the link:

www.perooutaouais.ca/index.php...contact&id=1&Itemid=13&lang=fr

The website is in french; once the form is submitted (with the button marked "Envoyer") there is text that appears at the top of the page in a coloured container.

Please Log in or Create an account to join the conversation.

13 years 7 months ago #3818 by douglas
Dear jlemay,

Contact Enhanced uses MooTools to validate the form and to perform some AJAX calls;

MooTools is the Joomla default javascript library, therefore most templates use MooTools for their fancy things such as menus and slideshows; Your template or other extensions (modules, plugins, components) shouldn't use another javascript library other than MooTools, however if it does use another library such as JQuery it might be incompatible with many MooTools based scripts;

Solution:
Your template is adding JQuery Javascript Library. Some commercial templates that use JQuery have the option to disable it;.
JQuery can be used with MooTools (even though I don't advise it), as long as the developer follows JQuery guidelines. You might want to suggest this feature to the template's developer:
docs.jquery.com/Using_jQuery_with_Other_Libraries

Advice:
Always choose extensions that are 100% compatible with Joomla Framework;
Do not use JQuery in Joomla based websites, this way you will avoid incompatibilities and will load less javascript, therefore your website will load faster.

If you need any any further assistance, please do not hesitate to ask.

Sincere regards,

Please Log in or Create an account to join the conversation.

13 years 7 months ago #3819 by jlemay
You were right!

JQuery was loaded in the template for the Lightbox module.

Since we don't need Lightbox on the website, I commented out the lines and the validation worked!

Thank you very much, you were very quick to solve my problem.

Please Log in or Create an account to join the conversation.

13 years 7 months ago #3820 by douglas
Dear jlemay,

Any time! ;-)

Best regards,

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback