I have created a form with checkboxes (the person can make multiple
choices).

 

Adult/Teen Classes:

<input type="checkbox" name="adults" value="session1" /> Session 1:

<input type="checkbox" name="adults" value="session2" /> Session2: 

<input type="checkbox" name="adults" value="session3" /> Session 3:

<input type="checkbox" name="adults" value="yoga" /> Session 4:

<input type="checkbox" name="adults" value="belly" /> Session 5:

 

On the action page a created a loop to capture the responses; If the
person makes multiple choices I would like them separated either by
comas or  displayed in a list

 

Adult/Teen Classes: <cfloop list="#form.adults#" index="a">#a#</cfloop>

 

I tried the list, but the tags also appeared in the output

 

Adult/Teen Classes: <ul><cfloop list="#form.adults#"
index="a"><li><cfoutput>#a#</cfoutput></li></cfloop></ul>

 

 

 

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://www3.esu.edu> 

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290971
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