[How to make] Check box Non Editable/Non Selectable? without using entry “disabled”
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 :
|
<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
|
<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
check, Disabled, Editable/Non, Entry, Selectable, Using, Without