internet explorer and form submission
| From: | Christian Haines | Date: | Thu, 13 Sep 2001 13:14:30 +0000 |
| Subject: | internet explorer and form submission | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67207@lists.php.net to get a copy of this message | ||
hi all,
i have just discovered a bug with internet explorer form submission.
suppose i have a form with 2 submit buttons to do different things eg-
<form name=form method=post action=something.php>
<input type=submit name=update value=update>
<input type=submit name=delete value=delete>
</form>
one to update content and one to delete content then in my processing file i
have
if(isset($update))
{
// do update
}
if(isset($delete))
{
// do delete
}
so if a particular form button is clicked a different process will occcur.
well what happens if i press return to enter my form submission?
nothing is set!
so the processing file does nothing
any thoughts?
christian