Mautic Community Forums

Filter first word enter first name field

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’.

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’.