this code works

<!--- Test1.cfm --->

<CFSET NumVar = 1> <!--- Number from your DB ---->
<CFFORM name="Test1" action="test2.cfm"  method="post" >
<CFOUTPUT>
<input type="Radio" name="Q#NumVar#" Value="1">
<input type="Radio" name="Q#NumVar#" Value="2">
<input type="Radio" name="Q#NumVar#" Value="3" Checked>
<input type="Radio" name="Q#NumVar#" Value="4">
</CFOUTPUT>
<input type="Submit" value="Push">
</CFFORM> 


<!--- Test2.cfm 
<CFOUTPUT>
#Form.q1#
</CFOUTPUT>
--->


HTH

DavidB

-----Original Message-----
From: Houk, Gary [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 12:50 PM
To: CF-Talk
Subject: Numeric Form Field Names...


I have an online survey that I built. The questions are dynamically
drawn from a table. The radio button values are drawn from a different
table. I wanted the name of each radio button group to be the id of the
question. This of course creates a problem when trying to output
#form.1#. Any ideas on how to work around this?

Thanks,

- Gary

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to