Posted By

etechblog on 11/03/11


Tagged

form forms fields admin magento


Versions (?)

Magento Admin Form


 / Published in: PHP
 

URL: http://www.excellencemagentoblog.com/magento-admin-form-field

  1. $fieldset->addField('title', 'text', array(
  2. 'label' => Mage::helper('form')->__('Title3'),
  3. 'class' => 'required-entry',
  4. 'required' => true,
  5. 'name' => 'title',
  6. 'onclick' => "alert('on click');",
  7. 'onchange' => "alert('on change');",
  8. 'style' => "border:10px",
  9. 'value' => 'hello !!',
  10. 'disabled' => false,
  11. 'readonly' => true,
  12. 'after_element_html' => '<small>Comments</small>',
  13. 'tabindex' => 1
  14. ));

Report this snippet  

You need to login to post a comment.