I am having a registration page which contains the field Country, State, City and Zip Code Which needs to be hierarchical select.

My question may be very basic. But kindly clear it.

I have used content profile module to create all the registration fields.

My question is what field type i need to give for the above fields what i mentioned (Country, State, City and Zip Code). Which needs to be hierarchical select.

Is there any examples or tutorials related to this topic will help a lot for me.

Any help will be thankful and grateful.

thanks in advance..

  • 2
    Is there a reason you haven't used dedicated modules like addresse or location ?
    – tostinni
    Commented Nov 9, 2011 at 16:25

1 Answer 1


Try the Hierarchical Select Module which works with Taxonomy Terms, Menus, User Profile Fields, Generic Lists and External APIs. The field types you use for storage would not matter.

There are demos available on the module developer's blog.

Warning: In the case of City Names and Zip Codes there is no hierarchy (at least in the States). Many Zip Codes have multiple city names, many cities have multiple Zip Codes. For any hope of keeping this all current you'd have to use an external API.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.