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

Bug?! Checkbox with only one option appears always selected.

14 years 2 months ago #2149 by mischa13
Hi there. Thanks for this great extension! B)

We need a simple 'Accept Agreement' checkbox - unchecked by default.
Unfortunately with only one value (First option selected: No) the checkbox appears checked. :huh:

customFields.class.php about row 255:
...
if( $fieldElement == $this->getValue() 
				OR in_array($fieldElement, $valueArray)  === true
				OR ($this->_selectCounter == 0 AND $this->params->get('checkbox_first_selected',0)) ) { $html .= 'checked ';}
			$html .= ' '.$this->attributes.' ';
			$html .= '/> <label for="' . $this->getInputName() . '_' . $this->_selectCounter . '">'.JText::_($fieldElement).'</label> ';
			$this->_selectCounter++;
			$html .= '</div>';
...

Has anybody an ideas to correct this behavior?

Bye,
Mischa

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

14 years 2 months ago #2150 by douglas
Dear mischa13,

I just sent you a file that will fix that behavior; TThe next version will have this bug fixed!

I'm sorry about the inconvenience;

Kind regards,

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

14 years 2 months ago #2151 by mischa13
Thank you for the quick response!
Your new file arrived me just in time. :)
I'll try this asap.

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

14 years 2 months ago #2199 by mostmint
Please send me that file too. I have the same issue.

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

14 years 2 months ago #2204 by douglas
Dear Mint,

How long can you wait for a fix?
Can you wait until next week?

I'm working on a new version.

Kind regards,

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

14 years 2 months ago #2206 by mostmint
Dear douglas ,

Please go on, I can wait.

Cheers,
Mint

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