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) »
  • Multiple Choice Options
Pages: [1]

Author Topic: Multiple Choice Options  (Read 2728 times)

madjoe

  • Guest
Multiple Choice Options
December 03, 2008, 03:00:07 am
I have a huge list of multiple options of my Custom Field.
Suddenly my Firefox browser has stopped rendering a list of multiple options within the last line of the list, so I'm not able to see Option Value, Default, Weight and Status of my last "Option". Also, there is no button visible at the bottom for adding a "New Option".

Since there is no error/warning message displayed on screen, what could it be? Is there a setting for displaying only X options per page (with a pagination) for editing a list of multiple options? How could I fix this issue?

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Multiple Choice Options
December 03, 2008, 03:52:27 am
By default, we allow the users to enter at most 11 options in the first go of adding the options to the field. If you need more options, you can create an unlimited number of additional choices using the Edit Multiple Choice Options link after saving this new field, which should be viewed like
http://drupal.demo.civicrm.org/civicrm/admin/custom/group/field/option?reset=1&action=browse&gid=1&fid=2

hth
Yashodha
« Last Edit: December 03, 2008, 03:56:49 am by Kurund Jalmi »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

madjoe

  • Guest
Re: Multiple Choice Options
December 03, 2008, 04:02:50 am
Theoretically you don't have limitations on certain amount of options, but I'm reporting that there is an issue with a list that contains more than 500 options (for checkboxes) and I don't know how could I resolve this issue.
Both of my browsers IE & FF suddenly interrupted rendering the page at the beginning of the last line (last option).

I have very large amount of max PHP memory reserved for CiviCRM (like 512MB) and I don't see no warning messages, it's not browser oriented issue, because the same thing is happening on several configurations, and if I delete my last Option from the database, mysteriously the same behavior is happening to the second last line.
« Last Edit: December 03, 2008, 04:04:26 am by madjoe »

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: Multiple Choice Options
December 03, 2008, 06:13:30 am

a couple of thoughts:

1. You can customize the template and also add the buttons to the top of the page

2. 500 options is a wee bit too much (IMO) and does not seem a general use case. Adding pagination to that page is not on the current roadmap. If important to you, please consider contributing code that does so. I also suspect the page size being generated for this is quite large and is choking either the server or browser or both

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

madjoe

  • Guest
Re: Multiple Choice Options
December 03, 2008, 06:39:25 am
Ok, thanks for your reply.
Is there any CiviCRM object (multiple option, tagging system, or anything) that supports storage of thousands of entities?

The main purpose of this is tagging: something that should tag an Individual, or an organization and this information I should also be able to use in an advanced search form.

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: Multiple Choice Options
December 03, 2008, 10:38:02 am
Am surprised at the number involved. I thought our 'hundreds' was high. Any reason it makes more sense to have all of these options as a single multiselect rather than breaking them in to clusters? Can you give an example of some of the 'characteristics' of these multi choice options?
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

madjoe

  • Guest
Re: Multiple Choice Options
December 03, 2008, 04:44:02 pm
Of course.. an example: I have to add tags to individuals who sells certain brands (like Nike, Adidas, Michelin, IBM, Apple, Coca-Cola, etc.). Those tags should help me for my search criteria; if I'd like to search for all clients who sells Bang & Olufsen, I would select that tag (multiple option custom field) in my advanced search, and see my results.

Text field is not acceptable for redundancy, typo and spelling reasons, but something like freetagging would be just perfect for this purpose. Unfortunately, I've been told that there will be at most 200 options for this purpose and now, after almost a year of using this application, there are more than 500 brands presented as checkboxes.

I know that it sound ridiculous now, but then, that seemed like quite a good idea.

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: Multiple Choice Options
December 03, 2008, 06:19:42 pm
Even something as simple as cutting it in to A-D E-L M-R S-Z chunks would make sense if there is no other rationale by which to group them.
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

madjoe

  • Guest
Re: Multiple Choice Options
December 03, 2008, 06:22:44 pm
Agree, but sometimes it's like A-D group has more than 50% of options... but I see your point.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Multiple Choice Options

This forum was archived on 2017-11-26.