Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListSort 2

Status
Not open for further replies.

iao

Programmer
Feb 23, 2001
111
US
Is there any way to use a breakpoint (<BR>) as the delimiter for the ListSort function?

I have tried and I can't figure a way to do this.

If it's important, the reason why I am doing this is to create an action page which calls a form variable from the display page. The variable will have more than one item selected from it, and no matter how I create this on the action page, it displays:

&quot;x-value, y-value, z-value&quot;

Rather,I want:

&quot;x-value
y-value
z-value&quot;. This is why I figured I would use the ListSort function. Any other ideas?

Thanks in advace.
 
Hi ecojohnson,

Actualy I've tried using <br> as a delimiter for lists and
it never worked (sounds like a great idea sometimes though). What I would recomend is:

<CFLOOP index=&quot;X&quot; List=&quot;#Form.Listedstuff#&quot;>
<CFOUTPUT>#X#<br></CFOUTPUT>
</CFLOOP>

Have fun...
 
This was the answer I was looking for. I didn't use the List Loop and instead was trying to figure out another way to do it.

Thanks so much for the help!!!
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top