Dealing With Comma's In <SELECT> Values When "Multiple" Is Set
Posted on 2011-03-10
I'm looking to see what others have done with the proverbial challenge of using the <SELECT multiple> object and then looping over the comma delimited list to gather the user's choices when the <OPTION> values may also contain a comma. The <OPTION> values are dynamically set and established by the users, and they often have use for comma's in those values. Traditionally, I employ the replace function and do some behind the scenes things so it is seamless to the user.
It's too bad you can't set a delimiter property on the <SELECT> object. Anyway, what are some ways you handle these situations?
I'm developing for CF8 web apps and using CF Studio 4.5 with CF8 Homesite Plugins added in.