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

data-rule-min and max appear twice

7 years 1 week ago #23142 by webmastergreg
Hello,

I'm with the last version of CE 3.6.5

And here you are the code from the textbox input, as you can see the data-rule-minLength and data-rule-maxlength appear twice.
My settings are on the multi-text parameters tab ( so 3 and 700)
<textarea name="message" id="message" class="inputbox text_area  required" required data-rule-minLength="3"
data-rule-maxLength="700"  placeholder="Votre message"   data-rule-maxlength="700"  data-rule-minlength="3"
style="height:130px;width:80%;"  ></textarea>

Any idea ?
thanks

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

7 years 1 week ago #23143 by support
Dear webmastergreg,

Please create a backup and edit the file /components/com_contactenhanced/customFields.class.php and remove this code entirely:
. ($this->params->get ( 'maxLength', 0 ) > 1 ? ' data-rule-maxlength="' . $this->params->get ( 'maxLength' ) . '" ' : '') . ($this->params->get ( 'minLength', 0 ) > 1 ? ' data-rule-minlength="' . $this->params->get ( 'minLength' ) . '" ' : '')

I have already removed from the source code of next release.

Let me know if you need any further assistance.

Best regards,
The following user(s) said Thank You: webmastergreg

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

7 years 1 week ago #23144 by webmastergreg
perfect, thank you

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