when you submit the form, a list of fields included with the form is
included as a list variable:

#form.fieldnames# (or something like that), the radio button will be in
there.

Steve

P.S. it seems a little strange that they both have the same value though

-----Original Message-----
From: Sophie Kwong [mailto:[EMAIL PROTECTED]]
Sent: 28 March 2000 16:00
To: [EMAIL PROTECTED]
Subject: populating dynamic radio boxes


I have created a dynamic form
----------------------------------------------------------------------
---
<cfquery name="questqy" datasource="questdsn">
select * from question where typeq = '#Form.typeq#'
</cfquery>

<cfform name="quests" action="update.cfm" method="post">

<table border="1">

<cfoutput query="questqy">
<tr>
<td>#questqy.testq#</td></tr>
<tr><td>
<cfinput type="radio" name="#questqy.num#"
value="#questqy.num#">#questqy.option1#<br>
<cfinput type="radio" name="#questqy.num#"
value="#questqy.num#">#questqy.option2#<br>
</td>
</tr>
</cfoutput>

<tr><td>
<input type="submit" value="submit" >
</td></tr>

</cfform>
--------------------

Now at the update page, how do I call the radio button in order to
save the value into a database?

Thank you for any help
SK


----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to