We need a little more background about how you created the checkboxes.
For example, if they are part of an option group (where checking one checkbox UNchecks the others automatically), then the checkbox states (assuming triple state property is set to NO) are either TRUE or FALSE. However, the option group value is equal to the checkbox number which you clicked TRUE. Therefore, if you clicked the second checkbox, the option group value is 2, etc.
Could it be you're trying to code something and instead of giving the option group a value of 1, 2, 3, etc. you're trying to assign this number to a checkbox itself?
You get the idea... we need to know more about your form structure and when this error occurs.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|