I know I saw the answer to this somewhere but now I can't find it. How do I make an "All" checkbox deselect when one or more other checkboxes are selected? Thanks!
Thanks! Though I'm not a programmer at all, I got it to work just fine once I realized that "ALL" was case sensitive. My "value" was already in use with the necessary field value but I can code that into the search script just as easily, I think (I hope). Coincidentally, your example has the exact number of checkboxes I am using!
Unfortunately, it does not seem to work on Netscape 4.74. Maybe it's because this form, while being 99% HTML, is embedded into a VBscript - a detail that I forgot about when I made my original post. That was necessary since ultimately it will need to receive an outside value when loading to pass along to the next form.
One thing though: In IE, "All" deselects when choosing any of the others as it should, but choosing "All" once again does not deselect the others. Do you know how I can fix that and get it to work on Netscape?
It works like a charm! It's perfect and thanks so much! I certainly couldn't have done it without your help. I was able to write a simple If Else statement based on which checkboxes are checked in my search script that recreates the needed form values to perform the actual search.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.