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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Auto Populating
Pages: [1]

Author Topic: Auto Populating  (Read 672 times)

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Auto Populating
July 23, 2012, 10:45:56 am
How can i auto populate two custom select boxes depending on the result of another..
eg: country and state..
if there are two select boxes for country and state
when i choose country as usa,the state select box should consist only options of states of usa
similarly when i choose country as india in first selectbox the second selectbox should consist only the states of india...

how can i achieve this without coding..?

if it is possible only through coding please anyone tell me where i should code...i mean source file..

please civi experts help please..

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Auto Populating
July 23, 2012, 12:14:34 pm
Quote from: jabirmoolur on July 23, 2012, 10:45:56 am
how can i achieve this without coding..?

This requires coding. It is customization an input screen.

Quote from: jabirmoolur on July 23, 2012, 10:45:56 am
if it is possible only through coding please anyone tell me where i should code...i mean source file..

Please see what I already answered you here just today http://forum.civicrm.org/index.php/topic,25429.msg107494.html#msg107494 as you will find there the documentation how to make this customization.
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.

Jag

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.8
  • MySQL version: 5.5.8
  • PHP version: 5.3.5
Re: Auto Populating
July 25, 2012, 08:39:48 am
It can be done in jquery. for reference have a look in the contact form in the address section...
if you  choose a country only its corresponding state will be shown...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Auto Populating

This forum was archived on 2017-11-26.