posted 13 years ago
...
If the requirements are based on the checked status of a single checkbox, why does the second checkbox go and disable the first one?
I don't understand why you're having a problem with this: you know what your requirements are (we *think* we do, but I'm not sure), you know how to enable and disable checkboxes and select boxes, and you know under what circumstances you need them to be disabled.
Right now, your code:
1) On entry, both checkboxes and selects are enabled.
2) If #low is checked, #valid/#mvalid are disabled.
3) If #low is unchecked, #valid/#mvalid are enabled.
4) If #valid is checked, #low/#lowbal are disabled.
5) If #valid is unchecked, #low/#lowbal are enabled.
What about that is different than what you need to have happen? If you only care about the checked status of #low, why do you still enforce 4) and 5) from my list above? If you *do* care about 4) and 5), why didn't you say that when I asked if my interpretation of your requirements was correct?
Don't just tell me to refer to your previous answers--if there was no confusion, I wouldn't be asking you to explain it again. You can't expect us to read your mind and understand your requirements without explicitly stating your requirements in a way we can understand.