Adding Prefix to Dataset's Text

On my master Project Page “Projects (All)”, I have two pieces of text that I want to add prefixes to. I only want to add those prefixes to the (All) page. The discrete project pages don’t need the prefix I’m not a coder, but my understanding is that I need to add a Hook function of some kind to the (All) page?

I want to add text as a prefix to two different strings - both part of #projectsDataset
To #text2 where the field key is “role”, I’d like to add the prefix “Role:”

To #shortDescription where the field key is “shortProjectDescription”, I’d like to add the prefix “Details:”

It’s been a minute for me, but to style just those prefixes, is it in-line styling?

Hi @cameron-vokey ,

You can consider the following ways:

  1. Add a hook and modify the content before returning the item.

  2. Get the item on front end and apply the modified content to the text element.

Does it solve your questions?

Certified Code