# SELF HOSTED | FIELDS | { command not working

**URL:** <https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313>\
**Category:** General Discussion\
**Created:** [September 9, 2015, 2:01pm UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313 "2015-09-09T14:01:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [September 9, 2015, 2:01pm UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/1 "2015-09-09T14:01:21Z")

</div>

Hello everyone,  
  
  
  
I have been attempting to move a fairly elaborate marketing campaign to Mautic and I’ve run into some hurdles I’m not sure how to overcome.  
  
  
  
I would like each contact’s first name to appear in each email sent. Eg, “Hi FIRSTNAME”. However, when attempting to add the field into an email nothing comes up when I press the { key as per this tutorial : [https://www.mautic.org/blog/tip-of-the-week-insert-fields/](https://www.mautic.org/blog/tip-of-the-week-insert-fields/)  
  
  
  
Please would someone be so kind as to point me in the right direction to get this working? I have experimented with these combinations to “call” the field value into the email:  
  
  
  
{infield-firstname}  
  
{infield=firstname}  
  
{firstname}  
  
  
  
On another note, I have also noticed that I am unable to enable the " Is Unique Identifier?" option under the “Edit Custom Field” page as it is blurred out

Quote:

. Is this required for the fields to work in emails? Why is this blurred out?  
  
Here is an image of the greyed out button:  
 ![2015-09-09_1659.png](http://content.screencast.com/users/vexer/folders/Jing/media/788a6fa4-586d-4a51-90de-23d5e057efb7/2015-09-09_1659.png)  
  
Thank you for any assistance!

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [September 9, 2015, 2:01pm UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/2 "2015-09-09T14:01:21Z")

</div>

Hello everyone,

I have been attempting to move a fairly elaborate marketing campaign to Mautic and I’ve run into some hurdles I’m not sure how to overcome.

I would like each contact’s first name to appear in each email sent. Eg, “Hi FIRSTNAME”. However, when attempting to add the field into an email nothing comes up when I press the { key as per this tutorial : [https://www.mautic.org/blog/tip-of-the-week-insert-fields/](https://www.mautic.org/blog/tip-of-the-week-insert-fields/)

Please would someone be so kind as to point me in the right direction to get this working? I have experimented with these combinations to “call” the field value into the email:

{infield-firstname}  
{infield=firstname}  
{firstname}

On another note, I have also noticed that I am unable to enable the " Is Unique Identifier?" option under the “Edit Custom Field” page as it is blurred out[quote][/quote]. Is this required for the fields to work in emails? Why is this blurred out?

Here is an image of the greyed out button:  
 ![](http://content.screencast.com/users/vexer/folders/Jing/media/788a6fa4-586d-4a51-90de-23d5e057efb7/2015-09-09_1659.png)

Thank you for any assistance!

---

<div class="post-metadata">

**Author:** ![derrickm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derrickm/32/31_2.png) [@derrickm](https://forum.mautic.org/u/derrickm)\
**Post date:** [September 9, 2015, 6:27pm UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/3 "2015-09-09T18:27:11Z")

</div>

Try {leadfield=firstname}

The drop-down should appear when you type {le

Not sure about the “Is Unique Identifier” problem – it works for me (but I’m also not sure when one would use it…)

---

<div class="post-metadata">

**Author:** ![enzo](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@enzo](https://forum.mautic.org/u/enzo)\
**Post date:** [October 5, 2015, 10:09am UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/4 "2015-10-05T10:09:07Z")

</div>

I have the same problem, “Is Unique Identifier” is blurred out. I need to enable it for “Phone” field. How can I enable it?

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [October 19, 2015, 1:45pm UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/5 "2015-10-19T13:45:07Z")

</div>

> [@3784:@escopecz](#):
>
> @andrewchildsza The autocomplete works in the email HTML area without using the Email Builder as well. Read [Insert Lead Fields In Emails](https://www.mautic.org/blog/tip-of-the-week-insert-fields/)

Hi escopecz,

This doesn’t seem to work for me at all.

Please see video here of me trying :  
Edit, fixed video: [http://screencast.com/t/ReQVAt9WXSXk](http://screencast.com/t/ReQVAt9WXSXk)

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 19, 2015, 2:02pm UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/6 "2015-10-19T14:02:20Z")

</div>

Works for me:  
 ![](https://drive.google.com/uc?id=0B0VKZ9KdWYKnQlJwdFpsM3BHbnc)

Try to type “{lead” without hitting backspace in the process. It’s quite sensitive. If that doesn’t help, open the browser dev tools (press F12), navigate to Console tab and let us know if you see some javascript error. Also, describe what OS and browser do you use.

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [October 20, 2015, 10:54am UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/7 "2015-10-20T10:54:52Z")

</div>

[quote=3947:@escopecz]Works for me:  
 ![](https://drive.google.com/uc?id=0B0VKZ9KdWYKnQlJwdFpsM3BHbnc)

Try to type “{lead” without hitting backspace in the process. It’s quite sensitive. If that doesn’t help, open the browser dev tools (press F12), navigate to Console tab and let us know if you see some javascript error. Also, describe what OS and browser do you use.[/quote]

Thanks for this reply.

It works, it seems as though it is a host speed problem. Entering in {lead results in the expected behaviour but only after around 10 seconds or so of “load” time.

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [October 11, 2015, 4:06pm UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/8 "2015-10-11T16:06:06Z")

</div>

[quote=2979:@derrickm]Try {leadfield=firstname}

The drop-down should appear when you type {le

Not sure about the “Is Unique Identifier” problem – it works for me (but I’m also not sure when one would use it…)[/quote]

Thanks for this. The {leadfield=firstname} works when defined in multiple locations.

Does the {e autocomplete/suggest only work in the email builder?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 12, 2015, 7:25am UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/9 "2015-10-12T07:25:53Z")

</div>

@andrewchildsza The autocomplete works in the email HTML area without using the Email Builder as well. Read [https://www.mautic.org/blog/tip-of-the-week-insert-fields/](https://www.mautic.org/blog/tip-of-the-week-insert-fields/)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/self-hosted-fields-command-not-working/2313/10 "2020-02-02T22:57:47Z")

</div>


