Hi,

How do I represent booleans fields in a custom content type?
For now I've created them as integer with min-max values 0 and 1, but I am not sure it's most efficient way to do.
I found a module but looks like working only for 4.6
I'd appreciate any other suggestion/idea.

Thanks

Marco

Comments

beyond67’s picture

Im also interested in this type of field. I want to include a cck checkbox, where when the checkbox is clicked it will represent (true, 1, or Yes) in database and unchecked (false,0, or No).. Please help, should be relatively simple.

beyond67’s picture

bump.. someone must know how to do this

bascostbudde’s picture

sort of built-in, but it still takes several configuration steps, some of which I find illogical and/or superfluous. There is a "single on/off" type field.

This is an issue for a current project. I hope to be able to spend time on a dedicated boolean field; in that case I certainly will post back. If you want to nag me about this, feel free