title: Varien_Data_Form_Element_Int Not Found in Magento
body: <p>I have created a Magento attribute called sales_index. I have created the attribute to be an integer from the install script in the module I have created. This is what I have put into my install script:</p>
  
  <pre><code>$installer = $this;
  $setup = new Mage_Eav_Model_Entity_Setup('core_setup');
  $installer-&gt;startSetup();
  
  $setup-&gt;addAttribute('catalog_product', 'sales_index', array(
      'input' =&gt; 'int',
      'type'  =&gt; 'int',
      'backend'   =&gt; '',
      'visible'   =&gt; 0,
      'required'  =&gt; 0,
      'user_defined'  =&gt; 1,
  ));
  
  $installer-&gt;endSetup();
  </code></pre>
  
  <p>The attribute seems to create correctly as no errors were given from the installer. However, when I move the sales_index attribute to the Default product attribute group and load one of the products in the admin panel I get the following error:</p>
  
  <pre><code>Fatal error: Class 'Varien_Data_Form_Element_Int' not found in /var/www/vhosts/workingperson.com/magento/lib/Varien/Data/Form/Abstract.php on line 129
  </code></pre>
  
  <p>So I figured I can just take this attribute out of the default attribute group and be fine. I am planning on setting this value in the background anyways. However, when I load a product, this value does not come along with it. The value is being set in the database, it just is not being loaded.</p>
  
  <p>I am assuming that I did something wrong with creating the attribute that is not readily noticeable to me.</p>
  
  <p>Does anyone know what I have to do to get this to work correctly?</p>