We usualy use the pipe as a delimiter for non numerical lists

Pascal

-----Original Message-----
From: Webmaster [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 2 november 2001 13:07
To: CF-Talk
Subject: Fw: commas in lists


Hi,
   Maybe someone can help me.
I have a field that a customer fills out which is a comma delimited
list.
Ex: wide,very deep,too easy,rugby

This is fine, however, if the customer wants to put a comma in the text,
it
screws up list functions and  list loops.  Notice the , between very
and deep.
Ex: wide,very, deep,too easy,rugby
So, I say to him,  if want to put commans in there, you have to quote
the
text.
Ex: "wide","very, deep","too easy","rugby"
OR 'wide','very, deep','too easy','rugby'

Well, this didn't work.  CF ignors the quotes and treats all commas it
finds
as delimiters

Any ideas how I can allow a comma in the list?

Best Regards
  Joe Hansen

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to