Thanks,
== doesn’t change a thing.
I’ve got no fallback. I want to run the script when the true/false is selected. When it’s unselected I want no scripting.
Checkbox checked + if (omd_table_filters === true) => WORKS
Checkbox unchecked + if (omd_table_filters === true) => breaks script. I just expect that the code inside the statement gets ignored. Instead it breaks.
Also, when I echo the true/false when it’s set to ‘off’ the echo is empty. Is this normal?