OK . . . .
I have a form with about 200 checkboxes, but the user must be limited to checking exactly 8 of them.
If the user chooses fewer than 8, and tries to submit the form, he/she should see a prompt (preferably appearing in a frame) saying "You haven't chosen 8 options yet. Choose X more." This could be a simple alert, if posting it to a frame poses problems.
If the user checks 8 boxes, and then tries to choose a ninth option, he/she should see a message (preferably appearing in a frame) saying "You cannot choose more than 8 options. If you want to change your choices, go back and uncheck at least one choice and choose another option. Then submit the form." This could be a simple alert, if posting it to a frame poses problems.
Ideally, there would be a VISIBLE running count of options chosen, and another counting down the ones remaining. All of this would appear in a frame, so the user could keep track at all times of how many options have been chosen so far, and how many remain.
I'm fairly sure this kind of thing can be done, but I don't see anything along these lines in the Javascript forum yet. I have looked, but (as usual) my particular needs are just different enough from those of others to make me have to ask for help. (I was able to get one other problem solved here tonight WITHOUT having to ask for your help -- Tek Tips forums make life so much easier!)
Thanks for whatever help you can provide. The people who respond in these forums generally know their stuff.