no... you have specified a space and the pipe character as 2 potential
delimiters.  when you loop over #form.apply#, CF will see any pipe
character -and- any space as a delimiter.

you're simply outputting each list element when you do <cfloop
list="#form.apply#" index="c" delimiters="| ">#c#</cfloop>.

so if one of the values is "Larry Moe Curly", CF is seeing "Larry" as
a list element and "Moe" as a list element and "Curly" as a list
element and outputting LarryMoeCurly (the value of #c# for each
iteration of the loop).

On Jan 24, 2008 3:38 PM, Steve LaBadie <[EMAIL PROTECTED]> wrote:
> I understand that I already have a delimiter which is putting a comma between 
> choices. What is happen though is the value from the form control is printing 
> out as "PodiumwithMicrophone" instead of "Podium with Microphone".
>
> ________________________________
>
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Thu 1/24/2008 6:08 PM
> To: CF-Talk
> Subject: Re: Passing Spaces
>
>
>
> you're specifying a space as one of the delimiters.  why wouldn't you
> just use the default comma?
>
> On Jan 24, 2008 11:55 AM, Steve LaBadie <[EMAIL PROTECTED]> wrote:
> > I have a series of checkboxes and am using a <cfloop> to grab the
> > choices. The list consist of a total of 10 items. For some reason I am
> > not able to pass the spaces as well. Any ideas would be appreciated.
> >
> >
> >
> > <input type="checkbox" name="apply" value="Podium with Microphone"
> > style="vertical-align: middle;" />Podium with Mic
> >
> >
> >
> > Action Page:
> >
> > <cfloop list="#form.apply#" index="c" delimiters="| ">#c#</cfloop>
> >
> >
> >
> > Steve LaBadie, Web Manager
> > East Stroudsburg University
> > 200 Prospect St.
> > East Stroudsburg, Pa 18301
> > 570-422-3999
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > http://www.esu.edu <http://www.esu.edu/>  <http://www.esu.edu 
> > <http://www.esu.edu/> >
> >
> >
> >
> >
> >
> >
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297367
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to