Fallback and spacing

Hi,

I have a list with bith names and no names, and want to achive this...

Hi John,

...when there is a name, and...

Hi,

... when there isn't a name.

If I use [firstname,fallback=] the result will be:

Hi John,

... and...

Hi ,

The latter featuring a space between the i and the comma.

Is there any way to prevent this other than using 2 lists?

Bullchicken Bullchicken, 5 years ago

This may not be the answer you are looking for, but how about something like  [firstname,fallback=there] which would keep it informal like the "Hi" and fix the formatting issue.

architxt architxt, 5 years ago

'Hi there' may be a bit to informal for us, unfortunately.

But a good idea :)

maniac55 maniac55, 5 years ago

I also had this problem and unfortunately the only way I found to solve it is using a custom field where we set the salutation with Excel before uploading. Not nice but a workaround for the spacing issue. However I'm keen to get to know other solutions for this :)

architxt architxt, 5 years ago

CM need conditionals...

[if:firstname]Hi [firstname],[else]Hi,[/if:firstname]

:)

roshodgekiss roshodgekiss, 5 years ago

Hi guys, thanks for all the great feedback. We're keen to look into how we can make this work better with conditionals, etc so will keep you posted if we make any changes here. Thank you!


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
matt, 4 years ago

We need to fix this!
Bad punctuation in emails look very unprofessional..

roshodgekiss roshodgekiss, 4 years ago

Hi matt, thanks for your feedback here. I'll bump this issue for you and keep you posted - in the interim, Bullchicken's suggestion may be of use.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098