This topic is locked
[SOLVED]

 Commas between values in dropdown list

1/7/2009 12:40:13 PM
ASPRunnerPro General questions
author

I have a couple of fields that are populated by values (a list of last names) from a multiple select dropdown list. It works great, but when the field is displayed on the view page, there are commas between the values, but no spaces after the commas.
Example: Carlson,Clark,Hansen,Hausman,Juhnke,Lieder,Mullery,Pelowski,Rukavina,Scalze,Solb

erg
Is there some of that code stuff <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=10568&image=1&table=forumtopics' class='bbc_emoticon' alt=':huh:' /> that I can use to place a space after the comma? And where would the code go?
Thanks in advance.

J
Jane 1/8/2009

Hi,
to add whitespace between values edit DisplayLookupWizard function in the generated include/commonfunctions.asp file.

Find this line:

out = out & ","



and replace it with this one:

out = out & ", "

501342 1/8/2009
J
Jane 1/9/2009

Hi,
open a ticket at http://support.xlinesoft.com and send your commonfunctions.asp file.