Forum


Calc Builder Support

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

Yes/No checked 01.11.2015 23:44

Hi
my Question is how can i set a YES/NO box as default checked.

Re: Yes/No checked 02.11.2015 17:50

Hi,
for setting checkboxes checked by default, you can use the javascript tab to set the check as soon as the form loads. You only need to add this code:


CB("input[fldname=XXX]").attr("checked","checked");

at the first js tab of your calculator ('executed on loaded page'). You only need to replace XXX with the variable name you have entered for your field.


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
FaLang translation system by Faboba

Our clients' feedback