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) »
  • Custom Fields for Option Groups
Pages: [1]

Author Topic: Custom Fields for Option Groups  (Read 374 times)

capo

  • I post occasionally
  • **
  • Posts: 108
  • Karma: 5
Custom Fields for Option Groups
November 14, 2013, 03:30:51 am
Is it possible to create custom fields for option groups? For instance, you may want to create a "Channel" field for the activity_type option group. Or you may want to create a new custom field based in an option group that has more than a simple "code / description" structure.

If it is not possible, is someone working in something similar?
Do you think it may be interesting to launch a Make It Happen project?

P.S.: Not sure this was the right forum category. Sorry if it wasn't!

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: Custom Fields for Option Groups
November 14, 2013, 08:58:13 am

hay carlos:

option group / value table was a generic table for a lot of groups that had simple needs and were willing to stick to the standard (and a lot of them are!).  if and when a group required specific fields (location type etc), we moved them into its own table

so not sure if adding custom fields to option group value is a right thing or ends up making things a bit more complex than needed.

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

capo

  • I post occasionally
  • **
  • Posts: 108
  • Karma: 5
Re: Custom Fields for Option Groups
November 15, 2013, 12:24:27 am
I agree it wouldn't be the best option from the database designer point of view. But, at the same time, I like the idea of letting the non-developer users be able to develop more complex database structures.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Custom Fields for Option Groups

This forum was archived on 2017-11-26.