Change Checkbox Value Script

From AgileApps Support Wiki
Revision as of 19:42, 31 July 2013 by imported>Aeric

Change the value of a checkbox field to true when the request amount is large enough.

if(_sdForm.request_amount.value > 10000) {
    setCheckboxState(_sdForm, "approval_required", true);
}