Checkboxes triggering another checkbox - toggling on/off issues
I have series of parent checkboxes that trigger on child checkboxes - copying the value. But if the user changes the parent checkbox from "On" to "off" the child checkbox does not copy. This the script i founded was using
var nhnw2 = getField("ClientHNW2").value;
if (nhnw2 === "On")
{
getField("ClientHNWSup2").value = "On"
} else {
getField("ClientHNWSup2").value = "Off";
}
JJ
