Re: radio buttons in $_POST

From: Date: Sat, 23 Apr 2005 20:25:07 +0000
Subject: Re: radio buttons in $_POST
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-213740@lists.php.net to get a copy of this message
> None <input type="radio" checked name="radio_test" > value="None" /> And if you didn't want it to show to the user (because they have to make a choice anyway) . . . you can use this css: input[value="None"] { display: none; } You should then always have a value to play with in PHP, and the user doesn't see any extra clutter.

« previous php.general (#213740) next »