Return to Snippet

Revision: 52849
at November 3, 2011 00:01 by etechblog


Initial Code
$fieldset->addField('title', 'text', array(
          'label'     => Mage::helper('form')->__('Title3'),
          'class'     => 'required-entry',
          'required'  => true,
          'name'      => 'title',
          'onclick' => "alert('on click');",
          'onchange' => "alert('on change');",
          'style'   => "border:10px",
          'value'  => 'hello !!',
          'disabled' => false,
          'readonly' => true,
          'after_element_html' => '<small>Comments</small>',
          'tabindex' => 1
        ));

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

Initial Description

                                

Initial Title
Magento Admin Form

Initial Tags
form, forms, magento

Initial Language
PHP