Change Checkbox Value Script

From AgileApps Support Wiki
Revision as of 19:04, 20 July 2011 by imported>Aeric

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;
}