Change Checkbox Value Script
From LongJump Support Wiki
Revision as of 22:49, 2 December 2008 by imported>Evelyn (New page: Change the value of a checkbox field to <tt>True</tt> based on an integer meeting some criteria. <pre> if(form.contract_amount.value > 100000) { form.approved_for_loan.checked = true...)
Change the value of a checkbox field to True based on an integer meeting some criteria.
if(form.contract_amount.value > 100000) { form.approved_for_loan.checked = true; }