I was afraid my explanation was confusing. I have a dozen or so checkboxes which are basically options/amenities for a condo. TV, VCR, sofabed, dishwasher, etc. Some of these have duplicates like the TV (sometimes up to three). So the way I am getting the information from the previuos developer is in the form of tv(1), tv(2), tv(3). I want all the checkboxes to be able to be chosen. The check boxes that have duplicates like the TV and VCR I want to validate against eachother. So the user can only select either tv(1), tv(2) or tv(3) but can check all the other boxes like sofa beds, dishwasher, etc. If they choose submit and have more than one of the tv options, I will send an error message back.
What I need to know is when they submit, how do I get the array to step through its values and make sure there is not more than one of the options for the tv. Hopefully this will clear up what I am trying to accomplish.
Thanks again for your time and replies.