0

Hi,

I am using 3 radiobuttons which are disabled by default.I want to enable them when i check an other radiobutton on my form.what is the solution for this.

plzz reply.

thanks.

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by AaronASterling
0

Use the onclick attribute with a function along the lines of

Function EnableRadioButtons ( array Elements )
    For each Element in Elements
        Set Element Enabled
0

Use the onclick attribute with a function along the lines of

Function EnableRadioButtons ( array Elements )
    For each Element in Elements
        Set Element Enabled

Or maybe something along the lines of

Function EnableRadioButtons ( array Elements )
   if  (button of interest is checked) {
      For each Element in Elements
         Set Element Enabled
   }  else {
      For each Element in Elements 
          Set Element Disabled
   }

That way the will become disabled again if the user checks the special button and then unchecks it later

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.