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) »
  • Multiselect for city filed
Pages: [1]

Author Topic: Multiselect for city filed  (Read 4523 times)

nuovecode

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.2.10.
  • CMS version: Joomla
  • MySQL version: 5.1.59-log - Source distribution
  • PHP version: 5
Multiselect for city filed
August 25, 2013, 02:20:45 am
Hi!

I have an event registration form like this:

State (multiselect)

Province (multiselect. Depending on state choice)

Now I want to add city as a multiselect field (otherwise users can put city name in different way: Es. Milan, milano, MI...)
but can't add 800 city (I'm italian) in a custom field!!

how do I have to do?

Thank's in advance :)




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: Multiselect for city filed
August 26, 2013, 08:23:30 am

You can add a few cities manually, see the pattern and then write some sql code to insert the remainder of the 800 cities

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 (Moderator: Dave Greenberg) »
  • Multiselect for city filed

This forum was archived on 2017-11-26.