I must be missing something very obvious here but it’s eluding me.
I need a simple yes/no choice on a page, so i created a tv and set its type to checkbox.
When i open a page associated with the tv i see the checkbox just fine and it is checked. But when i uncheck it and try to save, it is not saved and comes back checked again.
I did some search and saw examples with the Yes/No values but the values show up next to the checkbox and i don’t need that. Just a binary choice returning yes/no or 0/1 without any labels.
The documentation is silent on how to accomplish this.
What am i missing?
Thanks.
As is often the case taking a break and coming back to the problem proved fruitful.
Here’s how to do this:
Set values field to: ==Yes
Set default value to: No
This effectively remove the display values so the only thing the user sees is the checkbox while Yes/No are used for the actual values. You don’t have to use Yes/No, 1/0 or True/False, or anything else will work.