I plan to make a cck field that containst a list of states that a content type could have.

In order to get past a CCK "broken by design" issue where nodes created by users who cannot modify the state will have a null/empty value rather than a default value, I plan to use the Integer type (which will default itself to 0).

Can you add support for the integer data type?

Comments

RoboPhred’s picture

Title: Support "Integer" CCK field » Support "Number" CCK field
cyu’s picture

This is reasonable. I have some code cleanup I need to do soon, so I will also revisit potential select widgets that this module should be compatible with.

cyu’s picture

Status: Active » Fixed

integer, float, and decimal are now supported with http://drupal.org/cvs?commit=183012

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.