Re: How to include a colon : in a form value list?

Dan_Stevens_
Level 10 - Champion Alumni

How to include a colon : in a form value list?

I'd like to include a colon after the "Please Select:" value of our drop-down lists.  But the colon is also used to separate out name/value pairs.  Is there a way to escape out certain characters so that they can be used within the display values?
Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: How to include a colon : in a form value list?

I think you can use ||| to separate the values and that may allow for the : to remain.

You'd have \|||\Please Select:|||blah|||blah

I haven't tested this in that instance, so def test it!

Kim
Anonymous
Not applicable

Re: How to include a colon : in a form value list?

Would love to know if this works.  Dan, have you tried it yet??
Dan_Stevens_
Level 10 - Champion Alumni

Re: How to include a colon : in a form value list?

I don't think this will work.  There is an existing help article (https://community.marketo.com/MarketoArticle?id=kA050000000KzZKCA0) that discusses this approach - but only for separating values - not name/value pairs which is where the two colons are used.  So in this case, the three vertical lines would be used to replace the comma. 

Here's an example of the name/value pair approach we're using:
Please Select::,Executive Officer::CXO,Senior Executive::Executive

- or -

Please Select::,Argentina::AR,Australia::AU,Austria::AT