SteveoAtilla Posted April 25, 2005 Posted April 25, 2005 Hello! I need to know if it is possible to enable / disable certain entries in a Radio Button List programmatically. Here's the situation: I have a form with many options on it, and some of these options are inter-related. For example, if a user is designing an installed system proposal, the cusotmer can be charged Sales Tax or Use Tax, but if it is an "Equipment Only" sale, then they are not eligible for Use Tax, so I want to disable the Use Tax option in the Radio Button List. So far, I have only found the ability to Enable or Disable the entire list, not individual entries in the list. Thanks! Kahuna Quote The three most important things in life: God, your family, and the Green Bay Packers -- Not necessarily in that order. Winning is not a sometime thing. You don't win once in a while, you don't do things right once in a while, you do them right all the time. Winning is a habit. Unfortunately, so is losing. -- Vincent T. Lombardi
kahlua001 Posted April 25, 2005 Posted April 25, 2005 Doesnt the radiobutton list have an Items collection in which you can insert and remove? Quote
SteveoAtilla Posted April 25, 2005 Author Posted April 25, 2005 Doesnt the radiobutton list have an Items collection in which you can insert and remove? Yes, but I'd like the option to be visible but disabled, rather than removing and adding it. If that is the only option, I can certainly do that.... Quote The three most important things in life: God, your family, and the Green Bay Packers -- Not necessarily in that order. Winning is not a sometime thing. You don't win once in a while, you don't do things right once in a while, you do them right all the time. Winning is a habit. Unfortunately, so is losing. -- Vincent T. Lombardi
SteveoAtilla Posted April 26, 2005 Author Posted April 26, 2005 That's what I suspected, but I wanted to throw the question out to confirm. Thanks. Kahuna Quote The three most important things in life: God, your family, and the Green Bay Packers -- Not necessarily in that order. Winning is not a sometime thing. You don't win once in a while, you don't do things right once in a while, you do them right all the time. Winning is a habit. Unfortunately, so is losing. -- Vincent T. Lombardi
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.