NetTalk Central

Author Topic: Any way to disable a radio button?  (Read 1960 times)

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Any way to disable a radio button?
« on: September 19, 2008, 11:00:46 PM »
My situation is I have a field "Make", as in Posche, Ferrari, etc.

What I need to do is disable the radio button (option, actually) by getting the disabled tag in there if that make is not in stock. In other words, I can't use a condition to hide it, I need to disable it.  Is there any work around for this? I've been poking around the code but it's going to take great effort to code around it apparently.

Example:

<input type="radio" name=automake value="1">Porsche
<input type="radio" name=automake value="2" disabled>Ferrari
<input type="radio" name=automake value="3">Bentley


I put a suggestion in to allow a disabled condition for fields and radio buttons, but I could sure use a work around now.

« Last Edit: September 19, 2008, 11:02:19 PM by Mike Grigsby »
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile