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 (Moderator: Dave Greenberg) »
  • Region based on country contact address area
Pages: [1]

Author Topic: Region based on country contact address area  (Read 1494 times)

adiyya

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
    • Click & Pledge
  • CiviCRM version: 4.1
  • CMS version: joomla 1.7, Drupal7.0, WordPress3.4
  • MySQL version: 5.2
  • PHP version: 5.3
Region based on country contact address area
June 12, 2011, 04:22:39 am
Hi,

I need to add region field to the contat address(Contacts->individual->Address). Can any one help how to do this. This region should change based on country selected(as it change state based on country selected)

Thanks in advance,
Adiyya
Adi T | Click & Pledge®
Email:  tadikamalla.adiyya@clickandpledge.com

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Region based on country contact address area
June 13, 2011, 07:56:40 am
Quote
I need to add region field to the contat address(Contacts->individual->Address). Can any one help how to do this. This region should change based on country selected(as it change state based on country selected)

I think for now you can create Custom Data of type Address and then using jquery / js modify the value when country is selected.

HTh
Kurund
Found this reply helpful? Support CiviCRM

adiyya

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
    • Click & Pledge
  • CiviCRM version: 4.1
  • CMS version: joomla 1.7, Drupal7.0, WordPress3.4
  • MySQL version: 5.2
  • PHP version: 5.3
Re: Region based on country contact address area
June 16, 2011, 07:47:53 pm
Hi,

Thanks for reply. As iam new to civicrm could you explain how to do it with js.(simple example)
Adi T | Click & Pledge®
Email:  tadikamalla.adiyya@clickandpledge.com

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Region based on country contact address area
June 17, 2011, 02:02:14 am
Here is a blog post about using jQuery to change CiviCRM pages:

http://civicrm.org/blogs/hershel/how-customize-civicrm-pages-jquery
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Region based on country contact address area

This forum was archived on 2017-11-26.