0

I am using two select boxes in my form: one for country and one for state. I want the states box to be displayed based on the selection of the country box.

I also have two database tables: countries and states. The country's table structure is { Country Code and Country Name } and the states table structure is { Country Code and State Name }.

Thanks in advance.

Muhammad Reda
  • 26,379
  • 14
  • 93
  • 105
AkiShankar
  • 332
  • 5
  • 16
  • 1
    follow instructions on this post : http://drupal.stackexchange.com/questions/10112/dynamic-select-list-in-the-form-dependent-dropdown hope it helps PR – please_reboot Nov 21 '12 at 13:38
  • Yeah i followed it but I am not able to get the desired results.. Please help.. – AkiShankar Nov 22 '12 at 04:38

1 Answers1

1

Take a look at Hierarchical Select module.

Demos and showcase

Muhammad Reda
  • 26,379
  • 14
  • 93
  • 105