Forum

Thread tagged as: Question

Display perch content within the admin panel as help text

I'm creating unique IDs by grabbing a headings title and using urlify on it, so the client can link directly to, in this case, a speakers name.

<a id="<perch:content id="speaker" urlify="true" />">
    <h2>
        <perch:content id="speaker" type="text" label="Speaker Name" required="true" title="true" order="1" />
    </h2>
</a>

What I'd like to do, is display this urlify'd ID in the admin panel, as helper text, so they can copy the generated ID to their clipboard.

Is that possible?

Winston Grace

Winston Grace 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It's not if you're just urlifying it in the template. If you were to create a slug field from the name, you'd then be able to make that selectable using a dataselect field.