Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
JasonBarr #1
remembering what radio button was checked
I have a session variable to list the radio buttons that were clicked. I set
up a wizard to have 1 question on each page with a set of radio buttons. But
the questions come from one database table and the answers come from another
database table. I have everything working correctly, I just can't figure out
when a user clicks back through the wizard, that it remembers what radio button
the user checked. Here is the code I have now: <cfoutput
query='rsGetAnswers'> <!--- Should radio be pre-checked ---> <cfset
IsChecked = ListFind(SESSION.BillingSurvey.Answers, rsGetAnswers.anserID)>
<cfif IsChecked eq rsGetAnswers.anserID> <cfinput name='currentAnswer'
type='radio' value='#rsGetAnswers.anserID#'> <cfelse> <cfinput
name='currentAnswer' type='radio' value='#rsGetAnswers.anserID#' checked>
</cfif>#rsGetAnswers.answer#<br> </cfoutput>
JasonBarr Guest
-
radio button
i have 2 radio button and i want to set the 1st one is defaul <CFSET typeA = 'exempt'> <INPUT type='radio' name='typeA' value ='exempt'... -
CFMX XML Forms Radio button Checked - BEWARE
Radio Buttons do not work correctly when using CFMX7 XML form radio button groups if more than one radio group. Beware if you are creating xml... -
Radio Button Help me please!
Hi I need help quick! let me explain my problem: Ičve made a form in flash with textfields and radio buttons. It submits the data from the... -
Radio buttons do not appear checked
<b>Agency 4</b> <input type="radio" name="permission" value="1" checked> Yes <input type="radio" name="permission" value="0" > No <br> <b>Agency... -
How do detect previous checked radio button in ASP.NET
Hi all, I got the question about the radio button. How do i detect previous checked radio button after i checked other's radio button. While the...



Reply With Quote

