delimiter for multiple checkbox properties used as token

SOLVE
Katia_A
Participant

Hi!

 

I'm using a multiple checkbox property, containing multiples values for single contact, as a token to personalize an E-Mail.

 

Testing out the E-Mail I saw that the delimiter between the values of the property is a comma ",". 


Is it possible to personalize the delimiter in the token?

 

In my case I would like to use the semicolon as we send a set of personalized codes that can be used to activate products in our plattform. With a semicolon the customer can just copy-paste the code from the E-Mail, as our app was developed with it as delimiter.

1 Accepted solution

Accepted Solutions
amwilie
Solution
Key Advisor | Elite Partner

Hi @Katia_A !

You can use the |replace filter on your token to replace the comma with a semicolon.

 

{{ contact.your_token|replace(',',';') }}

 

If you click Advanced > Source Code in the WYSIWYG you should be able to edit the token code from there.

wysiwyg.png

 

sourcecode.png

 

border

Alyssa Wilie

Web Developer at LyntonWeb

If this answer solved your question, please mark it as the solution!

View solution in original post

2 Replies 2
amwilie
Solution
Key Advisor | Elite Partner

Hi @Katia_A !

You can use the |replace filter on your token to replace the comma with a semicolon.

 

{{ contact.your_token|replace(',',';') }}

 

If you click Advanced > Source Code in the WYSIWYG you should be able to edit the token code from there.

wysiwyg.png

 

sourcecode.png

 

border

Alyssa Wilie

Web Developer at LyntonWeb

If this answer solved your question, please mark it as the solution!

View solution in original post

Katia_A
Participant

Hi Alyssa

 

Thank you a lot for your suggestion! I tryied it out but I didn't manage to make it work 😞

Our dev team was faster than me anyway and changed our app, so it is done for me, for now.

0 Upvotes