sorry, I meant: <cfset idList = listappend(idList, mid(i, 7, len(i)-5))>
same thing that Russell's doing really > -----Original Message----- > From: Rich Wild [mailto:r.wild@;e-mango.com] > Sent: 23 October 2002 15:36 > To: '[EMAIL PROTECTED]' > Subject: RE: [ cf-dev ] looping through formfields > > > <cfset idList =""> > <cfloop list="#form.fieldnames#" index="i"> > <cfif findnocase('chkmsg', i)> > <cfset idList = listappend(idList, mid(i, 1, 6))> > </cfif> > </cfloop> > > > -----Original Message----- > > From: Robertson-Ravo, Neil (REC) > > [mailto:Neil.Robertson-Ravo@;csd.reedexpo.com] > > Sent: 23 October 2002 15:46 > > To: '[EMAIL PROTECTED]' > > Subject: [ cf-dev ] looping through formfields > > > > > > Guys, > > > > I have a brain fuzz this arvo.... I have the following form > > fields being > > passed from a form : > > > > CHKMSG58,CHKMSG51,CHKMSG31,CHKMSG28,CHKMSG6,CHKMSG4,DELETEMESSAGE > > > > How can I loop through the values to get the numeric value of > > the CHKMSGxx > > fields? The list will be dynamic in length. > > > > uurgh, its probably right in front of me! > > > > Neil > > > > -- > > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
