Even worse, if your form has multiple buttons, some browsers will submit the values of all the buttons (even the ones that weren't clicked).
That's why I try to never use buttons for form submission. Konr On Fri, Jan 22, 2010 at 3:32 PM, Michael Tramontano < mtramont...@efashionsolutions.com> wrote: > Just a heads up to everybody out there since I just ran into this > problem and found the cause. > > In FF, when you submit a form with nothing but a button, a statement > like if($post = $this->getRequest()->getPost()) will not work in the > controller because FF does not submit the name/value pair for the submit > button. However, IE will do so, which will populate the POST array. So, > be careful if you are relying on the post array to contain data if your > form could potentially be "empty". My solution was put a dummy hidden > variable in. > > -Mike Tramontano >