for(stuff in form) {
        if(left(stuff,6) EQ "CHKMSG") {
                num = right(stuff,Len(stuff)-len("CHKMSG"));
        }
}

-----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]

Reply via email to