CalcBuilder Forum

Yes/No checked

User joel 2015-11-01 23:44:23

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

Moonsoft support 2015-11-02 17:50:01

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:


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


Create dynamic calculators

Buy now!

Perfect for small code changes or to correct any bug at your site

Buy now!