combo box validation

From: Date: Mon, 07 Jun 2010 17:49:07 +0000
Subject: combo box validation
Groups: php.general 
Request: Send a blank email to php-general+get-305896@lists.php.net to get a copy of this message
Hello, I've got a form with two combo boxes, one for the month one for the day. Both are required. I've got code that checks the post submission to ensure neither is empty. My problem is that if a user does not select anything in the combo boxes January first is sent, this i don't want. If they haven't selected anything i'd like that to show as an error. Thanks. Dave.

« previous php.general (#305896) next »