www.webdeveloper.com
Results 1 to 2 of 2

Thread: Any way to lock a checkbox in a checked state?

  1. #1
    Join Date
    Dec 2002
    Posts
    150

    Any way to lock a checkbox in a checked state?

    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?

  2. #2
    Join Date
    Mar 2003
    Posts
    18
    Add a Disabled or Readonly to it. (<input type=text disabled>)

    http://www.htmlhelp.com/reference/ht...rms/input.html

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles