This topic is locked

Carriage Return on Multiple Select Field

2/25/2009 12:32:59 PM
ASPRunnerPro General questions
S
soberholtzer author

Hi,
I am using the lookup wizard (lookup table) on the visual editor tab to use a multiline select for entry into a field. When this is displayed on the list page or on the print page, I would like to seperate the lines with a carriage return. Currently they are seperated with a comma. Please advise how to do this.
Thanks,

Sean

Sergey Kornilov admin 2/25/2009

Sean,
you can set 'View as' type of this field to 'Custom' and use the following code:

strValue = Replace(strValue, ", ", "<br>")