• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to enable radio button

 
goonn kantha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have two radio buttons,say A and B. Under B, I have many checkboxes.

If the user selects the checkboxes of B, without selecting radiobutton B,

how to automatically enable in backend.

plz suggest some solution

Thanks,
kanth
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would definitely get a much better answer in HTML/Javascript Forum.

Thanks.
 
A Babu
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while writing the tag for radio button you mention "checked" beside the name of the radio button.then it will automatically activated
.
and more thing is no two radio buttons have be the checked position at same time.

for example,in form YES and NO two radio button s are there .let us assume.
so if you write both buttons have checked at that time only one buton is in checked position and other one is in unchecked position even you mentioned both are checked.

see sample codes for this in google.

cheers,
babu.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64724
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to HTML.
 
Niki Nono
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think probably it should be the other way round.
If he selects radio button B then all checkboxes of B should be enabled.

Whats the point of the radio button if all the checkboxes are enabled in the first go.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic