Sort of, but not a good way. It's actually quite a hard problem. If the box is checked by default, was unchecked by the user, but then the form redisplays with an error, what should the state of that checkbox be? It's not been included in the post, so does that mean it's unchecked, or does that mean it should be checked because that's the default and no value has been set? So yeah.
In which context?
Forms Template. ie:
Sort of, but not a good way. It's actually quite a hard problem. If the box is checked by default, was unchecked by the user, but then the form redisplays with an error, what should the state of that checkbox be? It's not been included in the post, so does that mean it's unchecked, or does that mean it should be checked because that's the default and no value has been set? So yeah.
When I stop laughing... I will sort this out :)
Thanks so much.