There is no drop down for states as well as cities if the selected country is India. It's good to have state and the corresponding city list if country selected is India.
Trying to add the same.

Comments

kalyanik’s picture

Issue summary: View changes
kalyanik’s picture

kalyanik’s picture

StatusFileSize
new2.06 KB
rkarajgi’s picture

Thanks for contributing this for use in India. I tried to use it for a site.

Applying this patch fails on addressfield-7.x-1.0-beta5 and addressfield-7.x-1.0-beta4.

Can you please re-roll and re-post the patch for beta5 (current version)?

Thanks

kalyanik’s picture

StatusFileSize
new2.06 KB

Sure. Here is the patch for current version (addressfield-7.x-1.0-beta5)

rahmanimran’s picture

Telangana and Tripura states are missing in the above patch.

kalyanik’s picture

Thanks emraanzaki. Here is the new patch.

kalyanik’s picture

Status: Active » Needs review
kalyanik’s picture

Status: Needs review » Fixed
bojanz’s picture

Status: Fixed » Closed (duplicate)

I committed the patch in a different issue: #2134625: Add Indian states.

kalyanik’s picture

Can we use this patch? it contains one more state named 'Telengana' and also it lists Indian Territories separately.

bojanz’s picture

Title: Indian Addresses » Add missing indian state Telangana
Status: Closed (duplicate) » Active

I managed to miss Telangana because it doesn't have an ISO code yet. I will add it.

Also it do not list Indian territories separately

Can you provide an explanation with examples or a patch?

kalyanik’s picture

oh ok.
I meant, we can list group of states and group of territories by distinguishing them with '' => t('--'), (like it is listed for country US after first '' => t('--'), it lists all states and after second '' => t('--'), it list all major areas/territories.)

ajits’s picture

@bojanz: This was probably missed in the module because the state of Telangana was recently created from other state Andra Pradesh.

There are 29 states (seperate state governments) and 7 union territories(under central government). It would be good if this could be listed separately.

@KalyaniK : Can you please create the patch for this, since you are already working on it?

  • bojanz committed 53c1475 on 7.x-1.x
    Issue #2156061 by KalyaniK: Add missing indian state Telangana, separate...
bojanz’s picture

Status: Fixed » Closed (fixed)

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