Always I have to spend some extra time while going to add a single on/off checkbox with CCK in Drupal. Each time I think to write a post about it and finally I am going to documented it help others.
This is pretty simple to work with CCK fields in Drupal. But adding on/off checkbox is different from other CCK fields.
- To add a single on/off checkbox go to Manage Field option for the specific content type
- Add a new field with single on/off checkbox selection
- Into allowed values list we need to add two entry. First one will be ignored and second one will be display into content add/edit page.
- Finally checkbox will appear into content add/edit page