Link to home
Start Free TrialLog in
Avatar of TheChos
TheChos

asked on

Radio button and "Readonly"

I would like to be able to "lock" a radio button much in the same way that a text field can be "locked" using the Readonly property.  I have tried the Disable property but it changes the appearance of the radio button.  I am looking for something that doesn't change the appearance but still locks the control.
Avatar of hb21l6
hb21l6

I dont think you can do this which only leaves you two options.

1. have a picture that looks like a radio button or

2. have a dead button on the screen that doesn't do anything.


sorry

hb
Avatar of YZlat
<input type="radio" name="radio1" style="color: #000000">
ASKER CERTIFIED SOLUTION
Avatar of Dean OBrien
Dean OBrien
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
<input type="radio" value="1" readonly="readonly" checked="cheked" />Radio

Seems to work properly no?
Take a look at this previous message. It seems to address this issue quite well.

http://www-level3.experts-exchange.com/questions/20661287/Readonly-radio-buttons-do-not-work-why.html