Can you show us the HTML you are using?

Have you tried cfdumping the form scope to see what is there?



On Mon, Apr 30, 2012 at 10:02 AM, Steve LaBadie <[email protected]> wrote:
>
> Greg, Dave,
>
> No luck.
>
> Steve LaBadie, Web Manager
> East Stroudsburg University
> 570-422-3999
> http://www.esu.edu
> [email protected]
>
>
> -----Original Message-----
> From: Greg Morphis [mailto:[email protected]]
> Sent: Monday, April 30, 2012 10:52 AM
> To: cf-talk
> Subject: Re: isDefined inside a cfloop
>
>
> you should be able to use
> form["veteran#v#"]
>
> to get the value
>
> On Mon, Apr 30, 2012 at 9:44 AM, Steve LaBadie
> <[email protected]>wrote:
>
>>
>> I have a form with the results being emailed to the owner of the form.
> I
>> have several groups of radio buttons and checkboxes. I am using the
>> following to check for the empty form control:
>>
>>
>>
>> Veteran: <cfloop from="1" to="10" index="v"><cfif
>> isDefined("FORM.Veteran#v#")><cfoutput>#v#</cfoutput></cfif></cfloop>
>>
>>
>>
>> This does work for checking if it is empty but does not return a
> result
>> if it is answered.
>>
>>
>>
>> FYI - I am still using MX7 and am in the process of upgrading to CF9,
>> but need to get this to work for now.
>>
>>
>>
>> Steve LaBadie, Web Manager
>>
>> East Stroudsburg University
>>
>> 570-422-3999
>>
>> http://www.esu.edu <http://www.esu.edu/>
>>
>> [email protected]
>>
>>
>>
>>
>>
>>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350892
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to