Missing label on CCK single on/off checkbox

You, DrupalDrupal CCK
Back

So many time some junior developers have asked me about this for single on-off checkbox?. They had the question why label missing on checkbox?. So to understand I realized to them, its not an issue on Drupal, its the way we create the field. For single on/off checkboxes, drupal will use the on label specified in the allowed values field:

0
1|This is your label
© Heshan Wanigasooriya.RSS

🍪 This site does not track you.