1

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? – jitendra - fuzion May 14 '18 at 11:24
  • yes screenshots please! – KarinG - Semper IT May 14 '18 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. – Jaap Jansma - CiviCooP May 14 '18 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 May 15 '18 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 May 17 '18 at 16:23
3

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.

1

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, privacy policy and cookie policy

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