I am in no way promoting storing a list rather than using an intersect
table, but the behavior of checkbox form fields is that if any have the same
name, the field is returned to the server as a comma-delimited list of the
values from all selected checkboxes having the same name.  Whether or not
this conforms to any standards I do not know.  And of course, if no
checkboxes are selected, the field is not even returned to the server.

Chris Lofback
Sr. Web Developer

TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL  33761
www.trxi.com


> -----Original Message-----
> From: Robertson-Ravo, Neil (RX)
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 17, 2003 10:12 AM
> To: CF-Talk
> Subject: RE: Best way to store 40 values?
> 
> 
> it will only return a list if its a multi selectbox I am sure.
> 
> -----Original Message-----
> From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
> Sent: 17 January 2003 15:06
> To: CF-Talk
> Subject: Re: Best way to store 40 values?
> 
> 
> On Friday 17 Jan 2003 14:43 pm, Scott Wilhelm wrote:
> > <input type=checkbox name=songid value=songid>)...Then, 
> when you process
> > the results of the form, the value for songid will come back as
> > 1,2,3,4,5,6,7,8,9...just store it as that...
> 
> IANW3C but I think that that behaviour is 'undefined'. I'm fairly sure
> NS/Mozilla will only return one of them, and it'll certainly 
> confuse the
> hell
> out of fusebox.
> 
> --
> Tom C
> 
> 'The future, according to some scientists, will be exactly like the
> past, only far more expensive.'
>  - John Sladek
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to