• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to enable radio button

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You would definitely get a much better answer in HTML/Javascript Forum.

Thanks.
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to HTML.
 
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic