[How to make] Check box Non Editable/Non Selectable? without using entry “disabled”

I want to make the check box checked, and Non Editable/Non Selectable

Step 1. checked the check box only
from this tutorial page http://www.hscripts.com/tutorials/ht…m-checkbox.php its working checked by add entry "checked" in bold below, and the form working with the check box checked after click submit button :

Quote:

<input type="checkbox" checked name="postpoll" value="yes" id="cb_postpoll" tabindex="1" $checked[postpoll] />


Step 2. make it Non Editable/Non Selectable, so the check box are already checked and cannot unchecked by users

from that same tutorial page its says to add entry "disabled" like below in bold

Quote:

<input type="checkbox" checked disabled name="postpoll" value="yes" id="cb_postpoll" tabindex="1" $checked[postpoll] />


its working the check box being Non Editable/Non Selectable, but after click submit button the form are not working maybe because the check box really disabled, its just pass the checked check box, like there is no check box. Maybe using entry "disabled" is the wrong way

please help guys, how to make the form still working after click submit button, but the check box are already checked and cannot unchecked by users

View full post on Webmaster-Talk.com

, , , , , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved