basketmen
12-27-2010, 08:36 AM
I want to make users must using poll in the threads
- in newthread template, from this tutorial http://www.hscripts.com/tutorials/html/form-checkbox.php i already can make the check box to checked, by add entry "checked" in bold below
<input type="checkbox" checked name="postpoll" value="yes" id="cb_postpoll" tabindex="1" $checked[postpoll] />
- but i still cant make the check box Non Editable/Non Selectable, so users cannot unchecked it, i already tried this 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 new thread button, its just pass the poll options page and directed to the thread page,
its 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 checked check box still working after click Submit new thread button, but the check box are already checked and cannot unchecked by users
- in newthread template, from this tutorial http://www.hscripts.com/tutorials/html/form-checkbox.php i already can make the check box to checked, by add entry "checked" in bold below
<input type="checkbox" checked name="postpoll" value="yes" id="cb_postpoll" tabindex="1" $checked[postpoll] />
- but i still cant make the check box Non Editable/Non Selectable, so users cannot unchecked it, i already tried this 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 new thread button, its just pass the poll options page and directed to the thread page,
its 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 checked check box still working after click Submit new thread button, but the check box are already checked and cannot unchecked by users