I’m confused by the checkbox TVs... how can I define a checkbox TV that is unchecked by default? It seems to make it UNCHECKED by default, I have to put ’0’ as the default value when I define the TV, but if I want to be CHECKED by default I have to leave the default value blank.
Is that correct? Is there any way to change which values are stored for a single checkbox? Or is that what the "default value" actually stores?
It seems that when I have a default value listed, I cannot UNCHECK the box. WTF? So confused right now...
The database doesn’t even seem to be storing a value:
mysql> select * from modx_site_tmplvar_contentvalues where tmplvarid=60;
+-----+-----------+-----------+-------+
| id | tmplvarid | contentid | value |
+-----+-----------+-----------+-------+
| 159 | 60 | 37 | |
| 160 | 60 | 42 | |
+-----+-----------+-----------+-------+