Re: Checkbox

From: Date: Wed, 26 Mar 2003 18:43:29 +0000
Subject: Re: Checkbox
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-141108@lists.php.net to get a copy of this message
> is it possible to have a checkbox that if it is specified to be checked > when the page is being formulated then it cannot be unchecked? No. No... No. If you already know you don't want it to be unchecked, then don't show a checkbox. That's why we have PHP, so you can create your page DYNAMICALLY and not show bits and pieces when you don't need to. There are plenty of JavaScript or other workarounds you can do, but you still need to verify _everything_ on the server side and don't accept any changed value. ---John Holmes...

« previous php.general (#141108) next »