back to phpList.org

Fallback variable instead of fallback word?

Hi there!

I have a question about the placeholder.

My address list has two fields for salutation.

SALUTATION has:
“Dear sir”
or:
“Dear Mrs”

PERSONAL_SALUTATIOIN has:

“Hello”

What I want to achieve with it:

If “PERSÖNLICHE_SALUTATIOIN” has a value, this should be used first, with the first name, for example:

Hello Christian

If “PERSÖNLICHE_SALUTATIOIN” is empty, the formal salutation should be used, for example:

Dear Mr. Trump

How can I do this with phplist?

I ve seen that there is fallback word. Thats the right direction. I just need instead of a fallback word use a fallback variable. Is this possible?

Thanks for advice!
Best Regards
mailerdaemon :slight_smile: