# HTML to add a field to rich text

**URL:** <https://forums.knack.com/t/html-to-add-a-field-to-rich-text/19844>\
**Category:** Get Answers\
**Created:** [September 11, 2025, 5:05pm UTC](https://forums.knack.com/t/html-to-add-a-field-to-rich-text/19844 "2025-09-11T17:05:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GazM](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/gazm/32/2007_2.png) [@GazM](https://forums.knack.com/u/GazM)\
**Post date:** [September 11, 2025, 5:05pm UTC](https://forums.knack.com/t/html-to-add-a-field-to-rich-text/19844/1 "2025-09-11T17:05:00Z")

</div>

Not sure there’s an answer. I’d like to refer to a user by their first name in some rich text. Seems the recommendation is to use HTML but not found anywhewre yet that tells me how to do this.

Can anyone help?

Ideally I need to understand how to do this. Her’es where I am

1. Split the first name from whole name as a field - I think I have this done, set up a field for a text formula and this takes the first name ok - **field\_1234**
2. have some guidance how I can add this first name field\_1234 into the HTML editor of the rich text section of a page. I tried {field\_1234}, {first name} and {{field\_1234}}. but no luck

anyone?

---

<div class="post-metadata">

**Author:** ![CSWinnall](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/cswinnall/32/3631_2.png) [@CSWinnall](https://forums.knack.com/u/CSWinnall)\
**Post date:** [September 13, 2025, 8:55pm UTC](https://forums.knack.com/t/html-to-add-a-field-to-rich-text/19844/2 "2025-09-13T20:55:14Z")

</div>

Hi @GazM

I’m afraid this will be a code based solution.

Are you using Classic or Next Gen?

Craig

---

<div class="post-metadata">

**Author:** ![Dean2](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@Dean2](https://forums.knack.com/u/Dean2)\
**Post date:** [September 14, 2025, 3:24am UTC](https://forums.knack.com/t/html-to-add-a-field-to-rich-text/19844/3 "2025-09-14T03:24:56Z")

</div>

Hi

Depending on your requirements, the only place I’m aware of that you can insert fields into a rich text field is in the table tasks when sending e-mails.

Dean

---

<div class="post-metadata">

**Author:** ![GazM](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/gazm/32/2007_2.png) [@GazM](https://forums.knack.com/u/GazM)\
**Post date:** [September 14, 2025, 2:40pm UTC](https://forums.knack.com/t/html-to-add-a-field-to-rich-text/19844/4 "2025-09-14T14:40:40Z")

</div>

I am using classic app for now until the migration pathway is clear, established and available. For a solution. I have decided to add a field with the custom variable as a text formula. Then add this to a details view alongside some static content. Seems to work as a workaround and way more flexible than customer code I believe.
