Skip to Content Skip to Menu

Show group fields in member list

1 year 2 months ago #334630 by wintercorn
Show group fields in member list was created by wintercorn
I'm creating a member list but some of the data is part of a field group and I can't see how to output that as part of a list.

Field ID is :  [_cb_employmentfieldgroup__0__cb_position]

Any suggestions?

Thanks

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
1 year 2 months ago #334634 by krileon
Replied by krileon on topic Show group fields in member list
Exclude the prefixed _ that's not necessary anymore. You also shouldn't need double underscore anymore either as the substitution format was improved. The below format should work.

FIELDGROUPNAME_ROWNUMBER_FIELDNAME

Field Group: cb_jobs
Row Number: 0 (first row)
Field Name: cb_title

Results: [cb_jobs_0_cb_title]

However all of the following should work due to the backwards compatibility

[cb_jobs_0_cb_title]
[cb_jobs__0__cb_title]
[_cb_jobs_0_cb_title]
[_cb_jobs__0__cb_title]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum