Body: <p>So looking at this other post, I was able to get the Country select to populate with all Countries.
  <a href="https://civicrm.stackexchange.com/questions/37901/cf-civicrm-state-province-field-dropdown-not-populating-after-country-is-chosen">cf-civicrm State/Province field dropdown not populating after country is chosen</a></p>
  <p>The issue I am still having though, is the State/Province select is being populated with every single State and Province from every country in the Country select field (which is all countries), so the list is HUGE.</p>
  <p>I can not seem to get it to limit the State/Provinces to only the selected country.</p>
  <p>For the State/Province, I have tried putting the country slug (both %country% and just country) in the &quot;CiviCRM Country field&quot;, and I have tried placing State/Province select both before Country select and after Country select.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-23T08:21:50.947Z
Comments.Text: Which version of the Caldera Forms CiviCRM plugin are you using?
Comments.UserDisplayName: Christian Wach
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-23T13:49:21.173Z
Comments.Text: I am using Caldera Forms plugin v1.9.7 (community maintained fork). For the processor connection, I tried CF CiviCRM by Andrei Mondoc v1.0.5 which had this issue, and then I tried switching to Caldera Forms CiviCRM by Agileware v1.0.5 which also has this same issue.
Comments.UserDisplayName: jsherk
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-24T12:09:55.767Z
Comments.Text: Are you getting any Javascript errors? The options are supposed to be filtered when a country is selected: https://github.com/WPCV/cf-civicrm/blob/main/fields/civicrm_state/field.php#L57
Comments.UserDisplayName: Christian Wach
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-24T17:25:54.657Z
Comments.Text: That was my initial thought, and I noticed that there was a jQuery Not Found error. I have now made sure that jQuery loads on that page, so there are no errors (javascript or otherwise) showing in the console anymore. Problem still exists.
Comments.UserDisplayName: jsherk
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-31T14:46:04.977Z
Comments.Text: Sorry, I'm all out of ideas. You'll have to use `error_log` and `console.log` to track the problem down, I think.
Comments.UserDisplayName: Christian Wach
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-07-11T23:39:50.507Z
Comments.Text: Are you needing to allow all countries or limit to one? Sounds like you need all?
Comments.UserDisplayName: Andy Burns
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-07-12T03:54:23.993Z
Comments.Text: @AndyBurns-iXiam All countries (well most) need to be in the country select list.
Comments.UserDisplayName: jsherk
Tags: <wordpress><caldera-forms>
Title: cf-civicrm State/Province field will not limit to chosen Country
ThreadText: # cf-civicrm State/Province field will not limit to chosen Country
  
  (Asked by: username_0 on 2023-05-22)
  
  So looking at this other post, I was able to get the Country select to populate with all Countries.
  [cf-civicrm State/Province field dropdown not populating after country is chosen](https://civicrm.stackexchange.com/questions/37901/cf-civicrm-state-province-field-dropdown-not-populating-after-country-is-chosen)
  
  The issue I am still having though, is the State/Province select is being populated with every single State and Province from every country in the Country select field (which is all countries), so the list is HUGE.
  
  I can not seem to get it to limit the State/Provinces to only the selected country.
  
  For the State/Province, I have tried putting the country slug (both %country% and just country) in the "CiviCRM Country field", and I have tried placing State/Province select both before Country select and after Country select.
  
  **Tags:** wordpress, caldera-forms
  
  > **Comments:**
  > **username_1**: Which version of the Caldera Forms CiviCRM plugin are you using?  
  > **username_0**: I am using Caldera Forms plugin v1.9.7 (community maintained fork). For the processor connection, I tried CF CiviCRM by Andrei Mondoc v1.0.5 which had this issue, and then I tried switching to Caldera Forms CiviCRM by Agileware v1.0.5 which also has this same issue.  
  > **username_1**: Are you getting any Javascript errors? The options are supposed to be filtered when a country is selected: https://github.com/WPCV/cf-civicrm/blob/main/fields/civicrm_state/field.php#L57  
  > **username_0**: That was my initial thought, and I noticed that there was a jQuery Not Found error. I have now made sure that jQuery loads on that page, so there are no errors (javascript or otherwise) showing in the console anymore. Problem still exists.  
  > **username_1**: Sorry, I'm all out of ideas. You'll have to use `error_log` and `console.log` to track the problem down, I think.  
  > **username_2**: Are you needing to allow all countries or limit to one? Sounds like you need all?  
  > **username_0**: @AndyBurns-iXiam All countries (well most) need to be in the country select list.  
  
  ---
  
  ## 0 answers
  
  