i need to setup a checkbox, so that it can't be unchecked... physically, can't be unchecked. is there a read only tag or something u can put in the input tag? u guys ever heard of how to do that? thanks.
Nevermind, i just disabled it and checked it, then made a hidden var to pass the value since disabled checkboxes don't send values..
Perhaps you could use DISABLED...
like: <input type=checkbox name=foo value=bar CHECKED DISABLED>1
hth
LOL, you said it yourself. If you add readonly at the end of the input tag, that should do what you want.
readonly doesn't seem to work right with checkboxes.. i dunno why..
Try this then. It works for me.
<input type="checkbox" name="var" value="ON" checked disabled>
that's what i said i did in my second post 🙂