This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes comparing two checkbox groups Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "comparing two checkbox groups" Watch "comparing two checkbox groups" New topic
Author

comparing two checkbox groups

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
i have two checkbox groups -

one is group1 with values - assessment, certification, mrl, supporting assessment.

second is group2 with values - assessor, certifier, erm, ferm, supporting assessor.

my condition is if supporting assessment is checked from the first group and supporting assessor is not checked from the second group, throw an alert message to the user.

how can i do this using javascript?


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

If only one choice is possible in the 2nd group, why not just go ahead and set it as checked in code rather than making the user guess?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: comparing two checkbox groups
 
Similar Threads
h:selectBooleanCheckbox required validation
Checkboxes?
Dependent dynamic drop downs
JTable cell value
help me regarding this selection box problem...