Answers.Body: <p><a href="https://www.drupal.org/project/location/issues/636464" rel="nofollow noreferrer">Singapore does not have States/Provinces</a> but there are <a href="https://en.wikipedia.org/wiki/Regions_of_Singapore#List_of_regions" rel="nofollow noreferrer">Regions</a>. But these have not made the list. You can add the regions to the civicrm_state_province table via the API Explorer</p>
  
  <p>In Civi go to Support > Developer > API Explorer</p>
  
  <p>In Entity select StateProvince 
  In Action select Create
  For Parameters:
       State = Central Region
       State Abbreviation = CR
       Country = Singapore</p>
  
  <p>Scroll down and you will see an Execute button. Click that and confirm Write to Database</p>
  
  <p>You can repeat this for each Region or you can do as Karin suggested and just create one state "Singapore"</p>
  
  <p><a href="https://i.sstatic.net/oIE5K.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/oIE5K.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-28T11:09:19.490Z
Answers.Text: Thanks - I added a province called singapore in the country singapore like this and like @karing-semper-it suggested. But that only helps singapore and not all these other countries. Also, I think we shouldn't start polluting our databases because the software just broke ...
Answers.UserDisplayName: commonpike
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-04T18:17:23.673Z
Answers.Text: I used this for solving an issue with Saint Lucia not having its "quarters" or "subdivisions" available in CiviCRM, throwing an error on webform submissions. 
  
  https://en.wikipedia.org/wiki/ISO_3166-2:LC
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-27T18:33:30.403Z
Answers.LastActivityDate: 2019-02-27T18:33:30.403Z
Answers.UserDisplayName: Iowa Boy
Answers.Body: <p>I did this for Joomla. I added the district information in SQL Provincial Information for Turkey. But the county information is still not selected when the province.</p>
  
  <p><a href="https://civicrm.stackexchange.com/questions/28546/city-town-selection-problem">enter link description here</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-27T18:47:15.620Z
Answers.LastActivityDate: 2019-02-27T18:47:15.620Z
Answers.UserDisplayName: Fatih ATEŞ
Body: <p>On Membership payment, using Drupal Webform, someone living in Singapore (for example) can not pay, as State/Province is required and Singapore has no State/Province defined. Gibraltar has the same.</p>
  
  <p>This seems to be new. 
  Do others have the same problem ? 
  Is there a way around it ?</p>
  
  <p>NB. State/province, where applicable, should indeed be required for Credit Card transactions. Just not for Singapore, Gibraltar, etc.</p>
  
  <p>EDIT at the request of @Karing-semper-it , some screenshots</p>
  
  <p>There is no difference in the gui before submitting:</p>
  
  <p><a href="https://i.sstatic.net/Kq3mP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Kq3mP.png" alt="enter image description here"></a>
  <a href="https://i.sstatic.net/IKSTG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IKSTG.png" alt="enter image description here"></a></p>
  
  <p>However, after submitting, webform complains about a missing state/province, and civicrm does not</p>
  
  <p><a href="https://i.sstatic.net/iz9V8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iz9V8.png" alt="enter image description here"></a>
  <a href="https://i.sstatic.net/g3g0t.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/g3g0t.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-29T12:07:59.833Z
Comments.Text: Try installing https://github.com/WeMoveEU/nobillingfields extension which aims at making address fields as not-required
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-29T13:53:29.630Z
Comments.Text: The billing fields get pulled onto the webform as-is from CiviCRM. CiviCRM makes them required - as some payment processors based on people’s merchant account settings run address verifications to limit fraudulent transactions. A quick workaround perhaps -> create a dummy province ‘Signapore’ in CiviCRM for Signapore; use some jquery to set the field to that dummy province? You’ll see double but it should pass the form validation.
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-30T11:17:11.397Z
Comments.Text: @KarinG-SemperIT thanks for the suggestion but I would have to do that for all countries without provinces. I'm pretty sure this problem is new. CiviCRM requires these fields but on their 'own' payment forms, allthough being marked as required, they are not required for countries that have no state/provinces. Ti seems webform-civicrm does not do such a check nowadays.
Comments.UserDisplayName: commonpike
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-31T03:39:52.580Z
Comments.Text: I know - it not a great solution - just wanted to see if that would be a quick/interim solution for you. If you attached two images to your question: a screen shot of native CiviCRM Contribution that the Webform links to and a screenshot of the Drupal Webform CiviCRM page - then I'll give it some thought.
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-27T09:14:59.463Z
Comments.Text: @KarinG-SemperIT thanks for your response. Added the screenshots here. As  said, it's not just singapore.
Comments.UserDisplayName: commonpike
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-27T09:22:46.850Z
Comments.Text: also added an issue here https://www.drupal.org/project/webform_civicrm/issues/3036072
Comments.UserDisplayName: commonpike
Tags: <webform-civicrm><payment><location>
Title: Drupal webform billing fails: State/Province field is required
ThreadText: # Drupal webform billing fails: State/Province field is required
  
  (Asked by: username_0 on 2019-01-29)
  
  On Membership payment, using Drupal Webform, someone living in Singapore (for example) can not pay, as State/Province is required and Singapore has no State/Province defined. Gibraltar has the same.
  
  This seems to be new.
  Do others have the same problem ?
  Is there a way around it ?
  
  NB. State/province, where applicable, should indeed be required for Credit Card transactions. Just not for Singapore, Gibraltar, etc.
  
  EDIT at the request of @username_2-semper-it , some screenshots
  
  There is no difference in the gui before submitting:
  
  [![enter image description here](https://i.sstatic.net/Kq3mP.png)](https://i.sstatic.net/Kq3mP.png)
  [![enter image description here](https://i.sstatic.net/IKSTG.png)](https://i.sstatic.net/IKSTG.png)
  
  However, after submitting, webform complains about a missing state/province, and civicrm does not
  
  [![enter image description here](https://i.sstatic.net/iz9V8.png)](https://i.sstatic.net/iz9V8.png)
  [![enter image description here](https://i.sstatic.net/g3g0t.png)](https://i.sstatic.net/g3g0t.png)
  
  **Tags:** webform-civicrm, payment, location
  
  > **Comments:**
  > **username_1**: Try installing https://github.com/WeMoveEU/nobillingfields extension which aims at making address fields as not-required  
  > **username_2**: The billing fields get pulled onto the webform as-is from CiviCRM. CiviCRM makes them required - as some payment processors based on people’s merchant account settings run address verifications to limit fraudulent transactions. A quick workaround perhaps -> create a dummy province ‘Signapore’ in CiviCRM for Signapore; use some jquery to set the field to that dummy province? You’ll see double but it should pass the form validation.  
  > **username_0**: @username_2 thanks for the suggestion but I would have to do that for all countries without provinces. I'm pretty sure this problem is new. CiviCRM requires these fields but on their 'own' payment forms, allthough being marked as required, they are not required for countries that have no state/provinces. Ti seems webform-civicrm does not do such a check nowadays.  
  > **username_2**: I know - it not a great solution - just wanted to see if that would be a quick/interim solution for you. If you attached two images to your question: a screen shot of native CiviCRM Contribution that the Webform links to and a screenshot of the Drupal Webform CiviCRM page - then I'll give it some thought.  
  > **username_0**: @username_2 thanks for your response. Added the screenshots here. As  said, it's not just singapore.  
  > **username_0**: also added an issue here https://www.drupal.org/project/webform_civicrm/issues/3036072  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2019-02-27. Score: 4
  
  [Singapore does not have States/Provinces](https://www.drupal.org/project/location/issues/636464) but there are [Regions](https://en.wikipedia.org/wiki/Regions_of_Singapore#List_of_regions). But these have not made the list. You can add the regions to the civicrm\_state\_province table via the API Explorer
  
  In Civi go to Support > Developer > API Explorer
  
  In Entity select StateProvince
  In Action select Create
  For Parameters:
  State = Central Region
  State Abbreviation = CR
  Country = Singapore
  
  Scroll down and you will see an Execute button. Click that and confirm Write to Database
  
  You can repeat this for each Region or you can do as Karin suggested and just create one state "Singapore"
  
  [![enter image description here](https://i.sstatic.net/oIE5K.png)](https://i.sstatic.net/oIE5K.png)
  
  > **Comments:**
  > **username_0**: Thanks - I added a province called singapore in the country singapore like this and like @username_2-semper-it suggested. But that only helps singapore and not all these other countries. Also, I think we shouldn't start polluting our databases because the software just broke ...  
  > **username_4**: I used this for solving an issue with Saint Lucia not having its "quarters" or "subdivisions" available in CiviCRM, throwing an error on webform submissions.   https://en.wikipedia.org/wiki/ISO_3166-2:LC  
  
  ---
  
  ### Answer by username_5 on 2019-02-27. Score: 1
  
  I did this for Joomla. I added the district information in SQL Provincial Information for Turkey. But the county information is still not selected when the province.
  
  [enter link description here](https://civicrm.stackexchange.com/questions/28546/city-town-selection-problem)
  
  
  ---
  
  