You must loop over the collection 

<CFLOOP COLLECTION="#FORM#" ITEM="itmForm">
        <CFIF Left(itmForm) EQ "v">
                do whatever you need to do with         
                right(itmForm,len(itmForm) - 1)
        </CFIF>
</CFLOOP>

HTH




-----Original Message-----
From: Raley, Scott [mailto:[EMAIL PROTECTED]] 
Sent: 22 January 2002 15:14
To: CF-Community
Subject: RE: brain fart


my email got cut off.. I can't figure out how to access the element..
what would be the string name? right now the values CF sees are:

V1=0
V2=12
V3=4

etc...

-----Original Message-----
From: Nick McClure [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 10:14 AM
To: CF-Community
Subject: Re: brain fart


You probably want to use.

right(STRING,len(STRING) - 1)

That will give you the number

At 10:01 AM 1/22/2002 -0500, you wrote:
>okay... I can't get this through my head anymore...
>
>I have a form where the names of the input fields are v1 through v12 
>and each has a value.. I want to take v1 and insert the "1" into the 
>database along with the value for it. I can't for the life of me figure

>out how to extract this to a variable to insert it.. I know I can use 
>the mid function
>


______________________________________________________________________
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

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to