Disable

$w("#termsBox").onChange((event) => {

let isChecked = $w("#termsBox").checked; //This will return result of True or False

if (isChecked) {

$w("#registrationButton").enable();

} else {

$w("#registrationButton").disable();

}

});