RE: [PHP] MSIE Form posting Woes
| From: | Jason Murray | Date: | Fri, 01 Sep 2000 01:53:16 +0000 |
| Subject: | RE: [PHP] MSIE Form posting Woes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14712@lists.php.net to get a copy of this message | ||
> Hey all... I've got a bit of a problem and I was wondering if
> anyone out there has a workaround.
>
> I have a form where there are two separate submit buttons with two
different
> Names. Which button they submit on is important. My problem is, in MSIE
you
> can simply hit return to submit and apparently by doing so it doesn't
bother
> choosing one or the other....
<?
if (!$button1value) && (!$button2value)
{
echo "Don't press return, moron!";
}
?>
Slightly more humane error messages are encouraged.
:)
Jason