# Filter first word enter first name field

**URL:** <https://forum.mautic.org/t/filter-first-word-enter-first-name-field/6633>\
**Category:** Product Support\
**Created:** [November 23, 2016, 4:15pm UTC](https://forum.mautic.org/t/filter-first-word-enter-first-name-field/6633 "2016-11-23T16:15:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andersonojope](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@andersonojope](https://forum.mautic.org/u/andersonojope)\
**Post date:** [November 23, 2016, 4:15pm UTC](https://forum.mautic.org/t/filter-first-word-enter-first-name-field/6633/1 "2016-11-23T16:15:52Z")

</div>

Hello!  
  
  
  
In the forms I do not use the first name and last name fields, I only use a field that I call the name.  
  
  
  
It turns out that some people end up putting the first and last name or even the full name in this field.  
  
  
  
I would like to know if in the shortcode that pulls the name of the lead when we send personalized emails, it only has to ‘fit’ the first name, that is, the first word registered in this field.  
  
  
  
Ex. To the name ‘John Farey’ \>\> Pull only the ‘John’.

---

<div class="post-metadata">

**Author:** ![andersonojope](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@andersonojope](https://forum.mautic.org/u/andersonojope)\
**Post date:** [November 23, 2016, 4:15pm UTC](https://forum.mautic.org/t/filter-first-word-enter-first-name-field/6633/2 "2016-11-23T16:15:52Z")

</div>

Hello!

In the forms I do not use the first name and last name fields, I only use a field that I call the name.

It turns out that some people end up putting the first and last name or even the full name in this field.

I would like to know if in the shortcode that pulls the name of the lead when we send personalized emails, it only has to ‘fit’ the first name, that is, the first word registered in this field.

Ex. To the name ‘John Farey’ \>\> Pull only the ‘John’.
