Is this a CFMX behaviour though?? Damien's using CF5 and when he outputs
or dumps that AB variable in the URL (?ab=1&ab=2&ab=3) all he gets is 3.
In CFMX I get a comma delimited list...

-----Original Message-----
From: Snake Hollywood [mailto:[EMAIL PROTECTED] 
Sent: 26 May 2004 14:31
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] list in a url variable

When you have a form that contains multiple fields with the same name,
they
will be submitted multiple times.
But coldfusion will treat it as s single variable with a list of value.
So from CF you will get AB=1,2,3,4

Russ

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: 26 May 2004 14:45
> To: dev lists
> Subject: [ cf-dev ] list in a url variable
> 
> 
> I have a form with a number of checkboxes named AB
> The form is set to GET, so all the parameters get sent in the URL. 
> 
> Now, when more than of the AB checkboxes are checked, the 
> query string includes it like so: AB=1&AB=2&AB=3 etc...
> 
> What I want to know is if you can get it to create the string 
> as AB=1,2,3 and so on.
> 
> The reason for this is that the processing page just wants to 
> find the url variable AB and check which id's it has in it.
> 
> At the moment I have a workaround where the query string goes 
> AB1=1&AB2=1&AB3=1 but it's a bit messy.
> 
> Any suggestions?
> 
> Thanks, Damien
> 
> -- 
> These lists are syncronised with the CFDeveloper forum at 
> http://forum.cfdeveloper.co.uk/
> Archive: 
> http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>  
> CFDeveloper Sponsors and contributors:-
> *Hosting and support provided by CFMXhosting.co.uk* :: 
> *ActivePDF provided by activepdf.com*
>       *Forums provided by fusetalk.com* :: *ProWorkFlow 
> provided by proworkflow.com*
>            *Tutorials provided by helmguru.com* :: *Lists 
> hosted by gradwell.com*
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> 


-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]


-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to