Field Values In Mail Templates

Hello,

we have two questions:

1. How can we display the full country name instead of the 2-digit short code in mails.

In the mail template we have access to the country value, for example: {$company.country}, but how can we display the full country name?

2. We have defined a custom contact data field (field type "Radiogroup", values: "private" / "company"). In the mail template we do have access to the selected value via {$account_data.fields[69]}, but the output is a number, not one of our defined values: "private" or "company", how can we display the value text?

best regards,

Alex

Hi there,

1. How can we display the full country name instead of the 2-digit short code in mails.

In the mail template we have access to the country value, for example: {$company.country}, but how can we display the full country name?

Sol. You can use

{$company_data.country|fn_get_country_name}

-Regards

Himanshu Dangwal

Hi there,

1. How can we display the full country name instead of the 2-digit short code in mails.

In the mail template we have access to the country value, for example: {$company.country}, but how can we display the full country name?

Sol. You can use

{$company_data.country|fn_get_country_name}

-Regards

Himanshu Dangwal

Perfect, thanks!

Now we only need the solution to my second question, it should work somehow similar, shouldn't it?