02.03.2018, 11:07
(This post was last modified: 02.03.2018, 11:08 by Erwin van der Zwart.)
Hi,
Use custom JS like below and add custom class 'hidebyknx' to your elements that needs to be included:
BR,
Erwin
Use custom JS like below and add custom class 'hidebyknx' to your elements that needs to be included:
Code:
$(function(){
grp.listen('1/1/1', function(object, state) {
if (state == 'value' && object.value == true) {
$(".hidebyknx").addClass("hide");
} else if (state == 'value' && object.value == false) {
$(".hidebyknx").removeClass("hide");
}
}, true);
});
BR,
Erwin