Click to See Complete Forum and Search --> : Any way to lock a checkbox in a checked state?


bunner bob
03-21-2003, 09:04 PM
I have PHP-generated HMTL page, in which a certain checkbox is checked depending on input from the previous page. Is there a way to keep the user from un-checking the checked box - say a "locked" property or something - or should I find another way to do this?

Cactus Hugger
03-21-2003, 09:18 PM
Add a Disabled or Readonly to it. (<input type=text disabled>)

http://www.htmlhelp.com/reference/html40/forms/input.html

You can also just make it a hidden. (<input type=hidden>)