Salutation First or Alternate Text


How do I include alternate text for contacts who do not have a first name?


To print the contact's name if it exists, or alternate text if it doesn't, use the following:

Dear %%if first != "" then printdata first else print "Valued Customer"%%,

This will check if the first name field is filled for each contact.  If the first name exists, it will be printed.  If it is blank, the text "Valued Customer" will be printed.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk