Okies, put this script together with some cut and paste. The attribute logos1_power_name_2 is a text field and attribute logos1_power_add_2 is a checkbox. I'm trying to set things up so that when the text field is empty it toggles the checkbox off. The newValue="" seems to be the problem, it works if I set it to look for an arbitrary value, newValue="X". on("change:logos1_power_name_2", function(eventInfo) {
if(eventInfo.newValue =="")
setAttrs({
logos1_power_add_2: 0,
});
});