Re: radio buttons in $_POST
| From: | M. Sokolewicz | Date: | Sat, 23 Apr 2005 22:15:08 +0000 |
| Subject: | Re: radio buttons in $_POST | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213743@lists.php.net to get a copy of this message | ||
Justin Gruenberg wrote:
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. which unfortunately currently only works in a couple of browsers (mozilla, (and thus firefox), and opera I think (?))