Hi,

One of our sites, http://www.primaryplace.org, is using the Node Profile module to set up user profiles for each of our users. One field we collect (but do not display) is zip code, which is set up as an Integer field type.

The problem with this is, being in New Hampshire, pretty much everybody's zip code starts with zero. We want to configure the zip code field to collect the five digits as entered, and not strip out the initial zero.

Any and all suggestions are greatly appreciated!

Comments

mdixoncm’s picture

Is just to use a textfield rather than an integer ...

Computerminds

1kenthomas’s picture

^^ Quickest, easiest solutions usually create vacuums and other problems. Use a textfield, and you will surely have users who enter nine-oh-two-one-oh as their zip.

OP needs a dedicated zip or address cck field.