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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • Multi-record custom fields
Pages: [1]

Author Topic: Multi-record custom fields  (Read 3244 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Multi-record custom fields
February 19, 2009, 02:15:12 am
I  would like to use the multi-record custom fields to store volunteering skills for individuals. For example, can Jane Doe cook? drive? play an instrament?  I would also like to track if she is willing to travel outside her area to volunteer.   So I created a Custom field data group called "Volunteering Prefs" and made it capable of holding multiple records.  Then I added 2 fields to this group: "skills" ( alphanumeric) and "willing to travel"  ( yes/no).   

But for each skill Jane has, I could provide a different answer for "willing to travel" .      So I moved the custom field "skills" into its own group with no other fields.  It is very awkward to have to create a special group for any custom field where I want multiple values.    Could this feature be enhanced so that I could mark the custom field as capable of multiple values?

« Last Edit: February 19, 2009, 02:20:17 am by sgladstone »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

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: Multi-record custom fields
February 19, 2009, 06:38:25 am

This is currently not in the short/medium term plans. Adding that ability makes the code (and UI) significantly more complex. We've been learning and adopting our approach from Drupal's CCK and attempting to keep the code much simpler

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

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Multi-record custom fields
February 19, 2009, 08:06:25 am
Which UI screens would be more complex?   In the select list for custom field type, just have some extra options in the list, such as "Alphanumeric ( multiples)", "Decimal ( multiples) "

Perhaps you can structure the code in manor to make it a possible future enhancement for another version.

Thanks

Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Multi-record custom fields
February 19, 2009, 11:00:17 pm
Can you clarify what you will achieve using multiple-record than just Custom Data field? I'm curious to see how people are employing this.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Multi-record custom fields
February 23, 2009, 11:58:49 pm
I would like to store any specialized skills that my volunteers have. That way I can search for volunteers who can do legal work, or drive, etc.   Without multi-record custom fields, how would I accomplish this?
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Multi-record custom fields
February 24, 2009, 12:33:46 am
I would just be using standard multi-select checkbox custom data fields giving the range of options you want, plus free text box for additional suggestions. Mostly because I am used to systems that existed prior to this option - but also because I see this option as being useful for specific circumstances such as wanting to have a list of the current and previous employers. '

All depends on the fields you are wanting to collect data for but I do note that

# You can't import or export custom fields that use the multiple records feature.
# You can't use custom fields in Profiles when they're configured for multiple records.

And using profiles for collecting Volunteer data would be critical in our implementations.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

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: Multi-record custom fields
February 24, 2009, 07:05:55 am

i've written a custom search to allow export of all multiple values custom fields :) Hopefully ths will help in the short term

integrating multi-valued custom groups with profiles is our next priority in a future release

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

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Multi-record custom fields
February 24, 2009, 10:37:33 am
I am so old fashioned ;-)
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • Multi-record custom fields

This forum was archived on 2017-11-26.