Answers.Body: <p>Not a direct answer to your question but perhaps a solution?</p>
  <p>Have you considered changing the custom data set style from Tab to Tab with table?</p>
  <p>Tab -
  <a href="https://i.sstatic.net/43m90.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/43m90.png" alt="Tab" /></a></p>
  <p>Tab with table -
  <a href="https://i.sstatic.net/BOua2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BOua2.png" alt="Tab with table" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-28T13:17:37.613Z
Answers.Text: There are a lot more fields - some of them large text areas - lower down in each field set. Can the table view be configured to only show 1 or 1 fields?
Answers.UserDisplayName: tanbog
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-28T14:36:58.580Z
Answers.Text: Indeed it can, select the Display in Table checkbox for fields that you want displayed.
  
  Help text from CiviCRM on this option - 
  Display in Table controls which columns are included in the listing of custom data records. If your custom data set has a large number of fields, uncheck this box to exclude less important fields from the listing. All fields will still be included when viewing a single record. You may also want to exclude Note type fields from the table listing.
Answers.UserDisplayName: Anil
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-02T06:55:23.187Z
Answers.Text: So, when I try to deselect "Display in Table" from a custom field in the field set, it saves without error but the change is not made. Display in table is always selected. No errors appear in the log. Is there some other step to this? Or can it only be done with new fields?
Answers.UserDisplayName: tanbog
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-24T02:00:34.347Z
Answers.Text: If anyone could get this solution to actually work, I would accept it also.
Answers.UserDisplayName: tanbog
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-28T11:26:52.283Z
Answers.LastActivityDate: 2022-11-28T11:26:52.283Z
Answers.UserDisplayName: Anil
Body: <p>I have a custom field set that allows multiple entires.</p>
  <p>They represent &quot;outreaches&quot; for organisations. eg: City Office, Rural outreach office etc.</p>
  <p>Each field set has a bunch of information - Outreach name, opening hours, location, desciption etc.</p>
  <p>My issue is the following. I have them in a tab on the organisation contact page. When users go into the tab, or edit the content of the tab they see a list of the sub-services but all the entries are named for the parent custom field set. Here is a picture to illustrate the issue:</p>
  <p><a href="https://i.sstatic.net/T0vXk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/T0vXk.png" alt="List of sub-services" /></a></p>
  <p>What I want is to populate the heading in the accordion with the value from the &quot;servive name&quot; field of the custom field set.</p>
  <p>eg:</p>
  <p><a href="https://i.sstatic.net/Dd6Nr.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Dd6Nr.png" alt="expanded sub-set fields" /></a></p>
  <p>It's quite frustrating for users at the moment as they must open each service accordion to see which one it actually is when they may only need to update one of them. Most organisation only have 1-3 sub-services but some - as in the above example - have five or more.</p>
  <p>Any ideas on how to implement this?</p>
  <p>PS - sorry for the image quality. I am having issues with Flameshot screen captures at the moment.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-23T17:55:02.027Z
Comments.Text: This would require some costing coding to set the title based on a text field...
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-24T02:00:06.443Z
Comments.Text: At this point I will settle for any solution that is actually workable for my users so they don't just see a list of meaningless headings. The table solution proposed by @anil below doesn't seem to work and I can't find anyone who knows why. That would also be acceptable.
Comments.UserDisplayName: tanbog
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-24T10:20:23.047Z
Comments.Text: what issue are you facing with display in tabs?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-26T07:49:20.837Z
Comments.Text: As discussed in my comment below. Setting a field to not show in tables doesn't seem to work. There is no error, the change simply does not take affect. Maybe it is something that can only be done for new fields? I have to change existing fields with data in them.
Comments.UserDisplayName: tanbog
Tags: <custom-fields><contact-layout-editor>
Title: Populating custom field set name with a sub-field in layout
ThreadText: # Populating custom field set name with a sub-field in layout
  
  (Asked by: username_0 on 2022-11-28)
  
  I have a custom field set that allows multiple entires.
  
  They represent "outreaches" for organisations. eg: City Office, Rural outreach office etc.
  
  Each field set has a bunch of information - Outreach name, opening hours, location, desciption etc.
  
  My issue is the following. I have them in a tab on the organisation contact page. When users go into the tab, or edit the content of the tab they see a list of the sub-services but all the entries are named for the parent custom field set. Here is a picture to illustrate the issue:
  
  [![List of sub-services](https://i.sstatic.net/T0vXk.png)](https://i.sstatic.net/T0vXk.png)
  
  What I want is to populate the heading in the accordion with the value from the "servive name" field of the custom field set.
  
  eg:
  
  [![expanded sub-set fields](https://i.sstatic.net/Dd6Nr.png)](https://i.sstatic.net/Dd6Nr.png)
  
  It's quite frustrating for users at the moment as they must open each service accordion to see which one it actually is when they may only need to update one of them. Most organisation only have 1-3 sub-services but some - as in the above example - have five or more.
  
  Any ideas on how to implement this?
  
  PS - sorry for the image quality. I am having issues with Flameshot screen captures at the moment.
  
  **Tags:** custom-fields, contact-layout-editor
  
  > **Comments:**
  > **username_1**: This would require some costing coding to set the title based on a text field...  
  > **username_0**: At this point I will settle for any solution that is actually workable for my users so they don't just see a list of meaningless headings. The table solution proposed by @username_2 below doesn't seem to work and I can't find anyone who knows why. That would also be acceptable.  
  > **username_1**: what issue are you facing with display in tabs?  
  > **username_0**: As discussed in my comment below. Setting a field to not show in tables doesn't seem to work. There is no error, the change simply does not take affect. Maybe it is something that can only be done for new fields? I have to change existing fields with data in them.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2022-11-28. Score: 3
  
  Not a direct answer to your question but perhaps a solution?
  
  Have you considered changing the custom data set style from Tab to Tab with table?
  
  Tab -
  [![Tab](https://i.sstatic.net/43m90.png)](https://i.sstatic.net/43m90.png)
  
  Tab with table -
  [![Tab with table](https://i.sstatic.net/BOua2.png)](https://i.sstatic.net/BOua2.png)
  
  > **Comments:**
  > **username_0**: There are a lot more fields - some of them large text areas - lower down in each field set. Can the table view be configured to only show 1 or 1 fields?  
  > **username_2**: Indeed it can, select the Display in Table checkbox for fields that you want displayed.  Help text from CiviCRM on this option -  Display in Table controls which columns are included in the listing of custom data records. If your custom data set has a large number of fields, uncheck this box to exclude less important fields from the listing. All fields will still be included when viewing a single record. You may also want to exclude Note type fields from the table listing.  
  > **username_0**: So, when I try to deselect "Display in Table" from a custom field in the field set, it saves without error but the change is not made. Display in table is always selected. No errors appear in the log. Is there some other step to this? Or can it only be done with new fields?  
  > **username_0**: If anyone could get this solution to actually work, I would accept it also.  
  
  ---
  
  