On 10/12/07, Steve LaBadie <[EMAIL PROTECTED]> wrote:
> It's not parsing, the page is .cfm document.  If a person choose all
> options it displays like this session1session2session3session4session5
>
> The whole site is coldfusion, all other apps are working fine. I even
> tried using the delimiter="," attribute in the cfloop.

That's exactly what you're telling it to output.  you're looping over
a list, outputting each element (and in your output, you're not
putting a comma).

you'd need to do:

<cfloop list="#form.adults#" index="a">#a#,</cfloop> (which would
leave a trailing comma, so you'd have to do a conditional inside the
loop to determine whether or not to show the comma).

of course, if you want to output the list, you could just do:

<cfoutput>#form.adults#</cfoutput>

:)

-- 
Charlie Griefer

================================================
"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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

Reply via email to