Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

Hide/Show form fields depending on select combo box 28.08.2013 23:34

I just installed the example in my Joomla 2.5 site of"Hide/Show form fields depending on select combo box" and it doesn't do anything other then have a drop-down to select Text or Date. Once selected nothing happens. The file downloaded and imported is called Filtered_Sections.xml.

I'm trying to get a couple fields to show only if a check box is selected and was hoping this example would guide me in the right direction. Any ideas on how to get it working properly? The other examples seem to be working fine.

Re: Hide/Show form fields depending on select combo box 29.08.2013 10:22

Hello,

We checked example an it was out of date. We rebuild and update example, so you could download it and import in your Calc Builder.
About what you are trying to get, you should change javascript in example in order to get if checkbox is checked. Here an example to check if checkbox is checked on click event:

CB('input[fldname="CHECKED_FIELD_VAR"]').click(function(){
var checkedValue=CB(this).attr('checked');
if (checkedValue=='checked'){
alert('checked');
}
else{
alert('not checked');
}
});

Hope this helps. Regards,
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback