I have a form drop-down where multiple items can be selected.  The 
list has an item with commas in it, so I changed it to be delimited 
via a pipe character.
<cfset sp_array= 
ListToArray("All|Children/Youth|Seniors/Elderly|Community Centers, 
Services, and Activities|Other","|")>
This works great and creates an array that I use to populate the drop-down.

Since the drop-down allows multiple selections, it returns an list of 
selected values, but they are comma delimited.  So now when I do
ListToArray(Form.service_population,"|"), it doesn't have the pipe 
and treats it all as one value.  When I do it without the additional 
delimiter designation, it breaks up "Community Centers, Services, and 
Activities" into 3 items as expected.  I need to make this into an 
array like the sp_array, but am not sure how to approach this.

I have thoughts, but none that are very good choices.

thanks.

-- 
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191938
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to