Answers.Body: <p>I had this problem too on the main Civi911.com checkout form, and then I was all the more sheepish when it turns out the issue was reported by my coworker Tyrell for one of our clients!  It's a bug in 7.x-4.11 and earlier: <a href="https://www.drupal.org/node/2516936" rel="nofollow">https://www.drupal.org/node/2516936</a></p>
  
  <p>If you upgrade, the state/province in the billing address should update along with the country.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-16T10:46:03.083Z
Answers.Text: Hah!
  
  Spent ages searching with the term civicrm to find anyone that posted the same issue.
  
  If only I'd added the drupal term may have found that post sooner. 
  
  Thanks Andrew. Will give it a try and report back.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-16T12:51:14.613Z
Answers.Text: Yup, all working as expected. Thanks @andrew-hunt for the pointer, much appreciated.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-14T01:59:48.433Z
Answers.LastActivityDate: 2015-11-14T01:59:48.433Z
Answers.UserDisplayName: Andie Hunt
Body: <p>Drupal 7.39
  CiviCRM 4.5.8
  Webform Integration 7.x-4.11</p>
  
  <p>I've got a webform to capture membership info and payments.</p>
  
  <p>To share the address with related contacts, Contact 1's address is captured twice, once in a main details section and again on the final contribution page.</p>
  
  <p>When entering the first address the country and state fields work fine. If a non-uk address is selected the expected state/province fields are available to select. (The organisation already has a number of overseas members).</p>
  
  <p>United Kingdom is the default country in localization settings.</p>
  
  <p>On the contribution section, the uk states appear as default. If Uk is deselected and another country chosen the state field displays only the UK options.</p>
  
  <p>When accessing the related contribution page directly the address fields behave as expected. States list populates dynamically from the chosen country.</p>
  
  <p>The contribution page is configured specifically for use with the webform so no profiles are included the profile tab.</p>
  
  <p>I've tried deselecting uk as default and leaving that for the user to choose. But that meant no states at all were displayed in the state box on the webform.</p>
  
  <p>State/Province is configured as a required field on the webform contribution page so leaving it set to none means payments can't be configured.</p>
  
  <p>As it stands the form can be used for domestic membership sign ups, but cannot be used by prospective overseas members.</p>
  
  <p>Has anyone seen anything like this before? Any pointers to settings I need to amend?</p>
  
  <p>Thank you!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-13T15:38:35.787Z
Comments.Text: Hi - just a question, is your country field before or after the state/province field?  If it's after it, you might try moving it to before the state/province field... what I've found, at least on regular Civi profiles, is that the country field needs to be first so that the form can populate the state/province after the country is selected.  Not sure if CIvi webforms are the same but it might be worth a try. ~ Lesley
Comments.UserDisplayName: Lesley Carter - BackOffice
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-13T15:43:49.187Z
Comments.Text: Thanks Leslie,
  
  In both cases the Country field appears first. :)
Comments.UserDisplayName: Craig Almond
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-13T16:38:36.000Z
Comments.Text: Have you checked for javascript errors?
Comments.UserDisplayName: eileen
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-13T16:50:42.790Z
Comments.Text: No.
  
  Do you have a link with instructions on how to do that?
Comments.UserDisplayName: Craig Almond
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-13T16:56:44.867Z
Comments.Text: Just googled javascript errors and realised I can do that in browser.
  
  Thanks for the pointer! I'll come back and look at it with fresh eyes on Monday.
Comments.UserDisplayName: Craig Almond
Tags: <webform-civicrm><contribution-page><addresses><localisation>
Title: Why aren't State options non-default countries (outside UK) showing for billing address on the contribution page of a webform?
ThreadText: # Why aren't State options non-default countries (outside UK) showing for billing address on the contribution page of a webform?
  
  (Asked by: username_0 on 2015-11-13)
  
  Drupal 7.39
  CiviCRM 4.5.8
  Webform Integration 7.x-4.11
  
  I've got a webform to capture membership info and payments.
  
  To share the address with related contacts, Contact 1's address is captured twice, once in a main details section and again on the final contribution page.
  
  When entering the first address the country and state fields work fine. If a non-uk address is selected the expected state/province fields are available to select. (The organisation already has a number of overseas members).
  
  United Kingdom is the default country in localization settings.
  
  On the contribution section, the uk states appear as default. If Uk is deselected and another country chosen the state field displays only the UK options.
  
  When accessing the related contribution page directly the address fields behave as expected. States list populates dynamically from the chosen country.
  
  The contribution page is configured specifically for use with the webform so no profiles are included the profile tab.
  
  I've tried deselecting uk as default and leaving that for the user to choose. But that meant no states at all were displayed in the state box on the webform.
  
  State/Province is configured as a required field on the webform contribution page so leaving it set to none means payments can't be configured.
  
  As it stands the form can be used for domestic membership sign ups, but cannot be used by prospective overseas members.
  
  Has anyone seen anything like this before? Any pointers to settings I need to amend?
  
  Thank you!
  
  **Tags:** webform-civicrm, contribution-page, addresses, localisation
  
  > **Comments:**
  > **username_1**: Hi - just a question, is your country field before or after the state/province field?  If it's after it, you might try moving it to before the state/province field... what I've found, at least on regular Civi profiles, is that the country field needs to be first so that the form can populate the state/province after the country is selected.  Not sure if CIvi webforms are the same but it might be worth a try. ~ Lesley  
  > **username_0**: Thanks Leslie,  In both cases the Country field appears first. :)  
  > **username_2**: Have you checked for javascript errors?  
  > **username_0**: No.  Do you have a link with instructions on how to do that?  
  > **username_0**: Just googled javascript errors and realised I can do that in browser.  Thanks for the pointer! I'll come back and look at it with fresh eyes on Monday.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2015-11-14. Score: 3 | Accepted answer
  
  I had this problem too on the main Civi911.com checkout form, and then I was all the more sheepish when it turns out the issue was reported by my coworker Tyrell for one of our clients! It's a bug in 7.x-4.11 and earlier: <https://www.drupal.org/node/2516936>
  
  If you upgrade, the state/province in the billing address should update along with the country.
  
  > **Comments:**
  > **username_0**: Hah!  Spent ages searching with the term civicrm to find anyone that posted the same issue.  If only I'd added the drupal term may have found that post sooner.   Thanks Andrew. Will give it a try and report back.  
  > **username_0**: Yup, all working as expected. Thanks @andrew-hunt for the pointer, much appreciated.  
  
  ---
  
  