True & False Are NOT Boolean!?

try to keep your if-else-conditions simple…

instead of…
if(value === true) {.......} else {......}

do just…
if(value) {.......} else {......}

This way UNDEFINED and FALSE would be like one and same result → FALSE, no matter if wix provides a FALSE or UNDEFINED for unchecked values.

1 Like