Not quite sure I know what you mean but if the checkboxes are all named the
same with different values, then the form scope already holds a comma
delimited list of selected items

Eg...

<input type="checkbox" name="chk" value="1" checked">
<input type="checkbox" name="chk" value="2" checked">
<input type="checkbox" name="chk" value="3" checked">

If that were submitted then form.chk would be '1,2,3'

-----Original Message-----
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 11, 2005 9:55 AM
To: CF-Talk
Subject: formatting with commas

On an input page the user has a group of related check boxes that they can
mark. (ie: type of eqp needs: dvd/projector/smartboard/etc). The user can
check as many as needed.
On the report this info will be dumped into one column titled EqpNeeds. I
set it so that if there's a 1 in the field it'll write out the type of eqp.
(dvd smartboard) What I now want to do is add commas.  However because there
are 6 choices and 0 to 6 may be marked I can't think how to add a comma
without it possibly looking funny (ie: the last item-or the only item- lists
with a comma behind it.)
tia. j




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:206386
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to