Examine the actual value being returned from the checkbox, using var_dump()
. It looks like it is not matching true
or false
, but always falling through to the default case.
Even your default value of “” is not true
or false
.
Examine the actual value being returned from the checkbox, using var_dump()
. It looks like it is not matching true
or false
, but always falling through to the default case.
Even your default value of “” is not true
or false
.