CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Problem with state-province fields in petition profile civi 4.3.3 drupal 7.2.2
Pages: [1]

Author Topic: Problem with state-province fields in petition profile civi 4.3.3 drupal 7.2.2  (Read 12798 times)

kifwebe

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • Aged developer (gotta keep on learning ;-)
    • National Federation of the Blind
  • CiviCRM version: 4.x
  • CMS version: drupal 7.x
  • MySQL version: mysql 5.x
  • PHP version: php 5.x
Problem with state-province fields in petition profile civi 4.3.3 drupal 7.2.2
May 30, 2013, 02:02:00 pm
We are running an international petition and naturally want to know signers countries.  We created a profile with country and then state.  All the countries are enabled.  When the petition is rendered, all the states-provinces for all the countries are rendered in the state select.  When a different country is selected, the states selection does not change.   It appears that the ajax call is not being made for the state-province.  When we use the same profile on an event or donation page it works properly, limiting the state-province selection to those appropriate for the selected country.  The petition function is fairly new and I am wondering if it hasn't been used for international petitions.
Developer at the National Federation of the Blind - Accessibility is important!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Problem with state-province fields in petition profile civi 4.3.3 drupal 7.2.2
May 30, 2013, 04:10:05 pm

Seems like some initialization of the widget and/or the widget is not being loaded properly in the petition code.

can u help debug and contribute a patch to fix this. we can help u get started on irc

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kifwebe

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • Aged developer (gotta keep on learning ;-)
    • National Federation of the Blind
  • CiviCRM version: 4.x
  • CMS version: drupal 7.x
  • MySQL version: mysql 5.x
  • PHP version: php 5.x
Re: Problem with state-province fields in petition profile civi 4.3.3 drupal 7.2.2
May 31, 2013, 07:31:09 am
Since we are using civi heavily and want to be involved helping make it more accessible, I have the blessing of our organization to work on debugging this quirk.  I know drupal better than civi, but I have been poking around the civi code on our test platform.  I like a lot of the new features. 
Developer at the National Federation of the Blind - Accessibility is important!

kifwebe

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • Aged developer (gotta keep on learning ;-)
    • National Federation of the Blind
  • CiviCRM version: 4.x
  • CMS version: drupal 7.x
  • MySQL version: mysql 5.x
  • PHP version: php 5.x
Re: Problem with state-province fields in petition profile civi 4.3.3 drupal 7.2.2
June 10, 2013, 02:08:38 pm
I joined jira and initiated a bug report.  I have extensively researched the problem and have made some modifications to my test instance that correct the bug.  When I am satisfied I will submit the code changes I made.

thanks for the encouragement
Developer at the National Federation of the Blind - Accessibility is important!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Problem with state-province fields in petition profile civi 4.3.3 drupal 7.2.2

This forum was archived on 2017-11-26.