We are running Civi 4.7.29. with Drupal. We have a webform using Drupal webform integration which populates civicrm fields.

we noticed that the state drop down was empty when previously it was working correctly.

Has anyone come accross this issue?

I checked the state province table in civicrm and it is not empty.

Thanks enter image description here

Yes there is an error on the page. Please see below. How do I fix this please? enter image description here

  • 1
    can you add some screenshots? Commented May 14, 2018 at 11:24
  • yes screenshots please! Commented May 14, 2018 at 12:57
  • Select list in Webform CiviCRM could have a setting which is called live/static. If static is selected you can enter the possible staes yourself. Also a state could be selected after a country is selected. Commented May 14, 2018 at 15:05
  • 1
    @JaapJansma I don't think webform-civicrm will allow that field to be static as it is an ajax field. Vish can you please open your browser console (F12) refresh the page and then see if any error messages appear?
    – Coleman
    Commented May 15, 2018 at 16:25
  • webformProp() definitely is a function in all versions of Webform 4 that I'm aware of. What version of Webform and Webform-CiviCRM are you using?
    – Coleman
    Commented May 17, 2018 at 16:23

2 Answers 2


Usually when a javascript element fails to work on your page, it's caused by a general javascript failure on your website. This can be caused by incompatible plugins or themes, etc. So the problem may have nothing to do with the state/province field or webform-civicrm; if Javascript has crashed, then it can't run. To narrow down the problem, open up the console in your webbrowser (F12) and look for any error messages. If the error message contains the name of a plugin, try disabling it. Or take a screenshot of the error and add it to your question.


Our developer updated the jQuery version and this seemes to have solved the javascript errors on the page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.