This tip was submitted to the SearchDomino.com tip library by member Jay How. Please let others know how useful it is via the rating scale at the end of the tip. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
When you have multiple values for a column displayed on the Web, it can appear crowded and difficult to read -- especially if there is a large amount of values, with all the values only separated by commas. One solution is to display them as list items. Using a formula in a view column, the code is as follows:
head := "[<ul><li>"; body := @Implode(someFieldListValue; "</li><li>" ); tail := "</li></ul>]"; head + body + tail
You can exclude [ and ] if the view is "treat view contents as HTML."
You may also use this in forms using the same formula in computed text, where the field is hidden in read mode and the computed text is hidden in edit mode.
Do you have comments on this tip? Let us know.