Streaming live at 10am (PST)

Use Field Name as a Heading


#1

Anyone know how to use a 'field name' (from a collection) as the text for a Heading? Thanks.


#2

Like so:

  1. Drag a heading onto the canvas.
  2. In the heading settings in the purple dropdown choose the field.


#3

Yes, Thanks! I understand this.
What I am needing to do however, is to make the H contain the fieldname of a Reference Field.


#4

You can choose the reference field in that dropdown as well. Just scroll down in the dropdown.


#5

I dont see it there, and so will assume that I am not stating the need correctly. Let me try again:

There are two collections. The collection "Projects" has a multi-reference field into another collection named "Project-Types."

How can we pull the names(s) that have been selected for Project-Types and display them as text in the Project collection page? Thanks again!


#6

Ahhhh! You're talking about Multi-References!!! At the moment the way to do this is to add a dynamic list on your Project page and bind the list to the multi reference'd collection. Then add a heading and it will show a heading for each item you have in the multi reference field.


#7

This is still unclear for me. If I create a dynamic heading, it will want to display them all.

There's no way to say "only use this single category heading." I want the heading to be variable for each category page so putting a hard-coded string there in conditional visibility won't work.

Is there a better way to do this?


#8