At 10:43 AM 2/12/2002 -0500, Nicole Amashta wrote: >Not in the least. That is not the same at all. You are referencing the ><input type="submit" name="submit"> button. > >I am referencing a hidden field that is set with that value no matter what.
Exactly. I learned this the hard way. Don't rely on the submit button at all. IE has all kinds of quirks where the button's value may not get passed if the user submits the form by hitting Enter instead of clicking the button. Hidden values are the way to go. The only time you could rely on buttons is if you have a form with multiple submit buttons. One button is the "default" submit button (i/e the one that gets highlighted when you click within the form), the rest must be clicked to be submitted. For these, you could use their name/values. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php