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 CiviContribute (Moderator: Donald Lobo) »
  • State / Province Auto Selection
Pages: [1]

Author Topic: State / Province Auto Selection  (Read 1344 times)

jgbrownie

  • Guest
State / Province Auto Selection
October 24, 2008, 02:59:10 pm
I'm running drupal 5 with civicrm 2.0.6 and using CiviContribute. We are a small organization with donors from about 120 countries. In order to let people donate from around the world we need to have lots of countries added to the localization section for countries and states found at (civicrm/admin/setting/localization). It works, but the problem is when people go to fill out the form they have TOO many options for state / province. We are getting complaints that their state or province aren't in the form. They are but by the time you get to Massachusetts or Texas you want to give up. Is there a way to change the contribution form to either: let the user fill in the state / province field of the Billing Name and Address section of the form, or: have the state / province fields automatically be filtered down to the relevant ones after the user selects the country?

Please let me know what my options are?

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: State / Province Auto Selection
October 25, 2008, 07:38:52 am

Your options in 2.0/2.1 are fairly limited. If you are a javascript/jQuery/dojo expert you can try to adding javascript to the form to achieve what you want to do (i dont think this is trivial). In a future 2.x version, we will expose a country/state widget to more areas in CiviCRM (including contribution pages etc)

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

jgbrownie

  • Guest
Re: State / Province Auto Selection
November 05, 2008, 06:09:50 am
Hi Lobo,

I'm not a javascript expert so I guess I will have to wait until the 2.x version. Any idea when it might be implemented?

In the meantime is there a way to override the state/province field in the billing address section of the contribution page? If I could replace it with a field that lets users type in their state/province that would alleviate the problem until the new version is ready.

thanks,

jamie



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: State / Province Auto Selection
November 05, 2008, 06:24:53 am

No idea when this will happen. There is no easy way to override the state/province field with a text box

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • State / Province Auto Selection

This forum was archived on 2017-11-26.