How to include a colon : in a form value list? | Community
Skip to main content
Dan_Stevens_
Level 10
November 6, 2013
Question

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

  • November 6, 2013
  • 3 replies
  • 1015 views
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?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

November 6, 2013
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
November 6, 2013
Would love to know if this works.  Dan, have you tried it yet??
Dan_Stevens_
Level 10
November 7, 2013
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