Mautic Community Forums

Sending Emails - First Name / Last Name

I collect sign up data as follows:



First Name

Email Address



When I use

Dear {contactfield=firstname}‍,



Many people don’t read the form correctly and enter fist name and last name.



e.g. John Smith



The email sent says:



Dear John Smith,



Is there a way to force Mautic to only use the first word in the firstname field if there are two or more words?



Or is the only option to:



a) manipulate the date somehow in the database

b) Force only one word in the Firstname field on the form itself?



Thanks!










I collect sign up data as follows:

First Name
Email Address

When I use
Dear {contactfield=firstname}‍,

Many people don’t read the form correctly and enter fist name and last name.

e.g. John Smith

The email sent says:

Dear John Smith,

Is there a way to force Mautic to only use the first word in the firstname field if there are two or more words?

Or is the only option to:

a) manipulate the date somehow in the database
b) Force only one word in the Firstname field on the form itself?

Thanks!

Or would this have to be done in e.g. PhpmyAdmin? Could this cause issues for Mautic if the data was manipulated?

Edit the contact that “don’t read well” and change there the first name and last name in mautic.

@nnjoan - good idea, although there are too many to do manually. Apparently AWeber have this feature:

https://github.com/mautic/mautic/issues/3217

Would be great to have in Mautic.