|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Querying Radio Selection
I know I can use a query in a text field to return a database value on my update page:
<cfoutput> <input name="LOANTYPE" type="text" value="#Trim(GetProperty.LOANTYPE)#" size="20"> </cfoutput> Is it possible to do this with a radio button and show which selection the user previously clicked? For instance: <input type="radio" name="R1" value="yes"> <input type="radio" name="R1" value="no"> If they clicked "no" can the 2nd selection show as "checked?" |
|
#2
|
|||
|
|||
|
<input type="radio" name="R1" value="yes" <cfif GetProperty.LOANTYPE is 'yes'> checked </cfif> >
<input type="radio" name="R1" value="no" <cfif GetProperty.LOANTYPE is 'no'> checked </cfif> > Like that ![]() Quote:
|
|
#3
|
|||
|
|||
|
Much thanks
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Querying Radio Selection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|