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) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Only include tab with table as a display option if mulitple records are allowed
Pages: [1]

Author Topic: Only include tab with table as a display option if mulitple records are allowed  (Read 796 times)

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Only include tab with table as a display option if mulitple records are allowed
January 14, 2015, 03:05:34 am
When you create a custom field, as soon as you set Used for to Contacts the Display Style selector appears.

Even if you have not ticked Does this Custom Field Set allow multiple records?, "Tab with table" is included in the list of options for Display style.

If you select it, then try to SAVE, you get an error message "Display Style 'Tab with table' is only supported for multiple-record custom field sets"and you have to select 'Inline' or 'Tab' to be able to save the form.

This is a perfectly valid thing to do, but it would a better user experience if "Tab with table" was only included in the 'display style' options once the custom field was set to allow multiple records.

Is that possible without changing anything else? 

Would it only be possible if Does this Custom Field Set allow multiple records? was a required yes/no radio (without a default) and the "display style" selector did not appear until Yes or No was chosen?

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Only include tab with table as a display option if mulitple records are allowed
January 14, 2015, 12:41:16 pm
That's a good suggestion. As soon as I get a spare moment I'll check and see how easy that would be to accomplish.
Try asking your question on the new CiviCRM help site.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Only include tab with table as a display option if mulitple records are allowed
January 19, 2015, 02:00:45 pm
https://issues.civicrm.org/jira/browse/CRM-15842
Try asking your question on the new CiviCRM help site.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Only include tab with table as a display option if mulitple records are allowed
January 20, 2015, 10:33:55 am
Done :)
Try asking your question on the new CiviCRM help site.

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Only include tab with table as a display option if mulitple records are allowed
January 28, 2015, 04:38:04 pm
Thanks Coleman.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Only include tab with table as a display option if mulitple records are allowed

This forum was archived on 2017-11-26.