sorry..

>  er, I'm in a pickle with that. 
>  
>  just tried:  

<cfloop index="i" list="ab">
        <cfif i eq "ab">
                #ListAppend(AB, "#url.ab#")#
        </cfif>
</cfloop>

but that's just a mess. Any help?



>  -----Original message-----
>  From: "Snake Hollywood" [EMAIL PROTECTED]
>  Date: Wed, 26 May 2004 14:48:25 +0100
>  To: [EMAIL PROTECTED]
>  Subject: RE: [ cf-dev ] list in a url variable
>  
>  >  Ok just loop over the URL variables, if the variable is AB then do a
>  >  ListAppend(AB, value).
>  >  Now you have 1 variable with a list of values.
>  >  
>  >  Russ
>  >  
>  >  > -----Original Message-----
>  >  > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>  >  > Sent: 26 May 2004 15:45
>  >  > To: [EMAIL PROTECTED]
>  >  > Subject: RE: [ cf-dev ] list in a url variable
>  >  > 
>  >  > 
>  >  > Russ,
>  >  > 
>  >  > that seems to only be with forms set to POST. I have it set 
>  >  > to GET and I have a query string ?ab=1&ab=2&ab=3 When I 
>  >  > output url.ab, the only thing I get is '3'.
>  >  > 
>  >  > I'm using CF5 at the mo so not sure if that's affecting it.
>  >  > 
>  >  > D
>  >  > 
>  >  > 
>  >  > -----Original message-----
>  >  > From: "Snake Hollywood" [EMAIL PROTECTED]
>  >  > Date: Wed, 26 May 2004 14:31:18 +0100
>  >  > 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]
>  >  > 
>  >  
>  >  
>  >  -- 
>  >  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