It is easy to encode a string with @UrlEncode and there are various long-winded methods for decoding the string.
This is a simple fast example of how javascript can be used to accomplish the desired result. The example contains semicolon/commas to demonstrate how you can get around users submitting data containing semicolons and commas without confusing domino into thinking they are multiple values.
Field 1 (Multivalue - computed for display)
temp:="Searchdomino; rocks" : "Searchdomino, rocks again";
@UrlEncode("UTF-8"; temp)
Field2 (multivalue - computed for display - display values on new line)
"[<script>document.write(unescape(\""+Field1+"\"))<\script>]"
you should get two values on a separate line :)
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in August 2002