8 February 2011 0 Comments

[Magento] Submit Form not working in Magento Admin

If you have made any form in Magento Admin panel, you might face an issue with submitting a form. Submit Form was not working for me and i found that it needs form_key in order to submit a form. So you need to pass hidden field of form_key in your form. Look at below code. Hope this helps you.

$form_key = Mage::getSingleton(‘core/session’)->getFormKey();
<input name=”form_key” type=”hidden” value=”<?php echo $form_key; ?>”>

    Freelance PHP Developer