By bcarlson33 on
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
Quickest easiest way ...
Is just to use a textfield rather than an integer ...
Computerminds
Mike,
Computerminds offer Drupal development, consulting and training
^^ Quickest, easiest
^^ 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.