Re: Radio button selection question

2008-11-10 Thread AJ Mercer
This will do it

checked="checked"  />
checked="checked"  />
checked="checked"  >

Where qryResults is the data returned from your datbase

On Tue, Nov 11, 2008 at 4:34 AM, Damayanti Gupta <[EMAIL PROTECTED]>wrote:

> HI,
> I guess this is a rather basic question, but I am really having a hard time
> finding a solution.
>
> I have a group of radio buttons. Data from the db should determine which
> button is checked. How do I set this?
>
> It is like this - the code for intitial display of the page is like-
>
>  checked="checked"/>
> 
> 
>
> Depending on data I retrieve, I may want to change the button selection to
> "Orange". How do I do this?
>
> Thanks a lot
> DG
>
> STATEMENT OF CONFIDENTIALITY:
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain confidential or privileged information. If you are not the intended
> recipient, or the person responsible for delivering the e-mail to the
> intended recipient, be advised you have received this message in error and
> that any use, dissemination, forwarding, printing, or copying is strictly
> prohibited. Please notify Archemix Corp. immediately at either (617)
> 621-7700 or by return fax at (617) 621-9300 and destroy all copies of this
> message and any attachments.
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315054
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Radio button selection question

2008-11-10 Thread Damayanti Gupta
HI,
I guess this is a rather basic question, but I am really having a hard time 
finding a solution.

I have a group of radio buttons. Data from the db should determine which button 
is checked. How do I set this?

It is like this - the code for intitial display of the page is like-





Depending on data I retrieve, I may want to change the button selection to 
"Orange". How do I do this?

Thanks a lot
DG

STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain confidential or privileged information. If you are not the intended 
recipient, or the person responsible for delivering the e-mail to the intended 
recipient, be advised you have received this message in error and that any use, 
dissemination, forwarding, printing, or copying is strictly prohibited. Please 
notify Archemix Corp. immediately at either (617) 621-7700 or by return fax at 
(617) 621-9300 and destroy all copies of this message and any attachments.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315049
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4