Replace your code in install-1.0.0.php with the following code

&lt;?php
$installer = $this;
$installer-&gt;startSetup();
$setup = Mage::getModel('customer/entity_setup', 'core_setup');
$setup-&gt;addAttribute('customer', 'eadni', array(
    'type' =&gt; 'varchar',
    'input' =&gt; 'text',
    'label' =&gt; 'DNI',
    'position'  =&gt; 120,
    'required' =&gt; 0,
    'is_system' =&gt; 0,
    'user_defined' =&gt; 1,

));
if (version_compare(Mage::getVersion(), '1.6.0', '&lt;='))
{
      $customer = Mage::getModel('customer/customer');
      $attrSetId = $customer-&gt;getResource()-&gt;getEntityType()-&gt;getDefaultAttributeSetId();
      $setup-&gt;addAttributeToSet('customer', $attrSetId, 'General', 'eadni');
}
if (version_compare(Mage::getVersion(), '1.4.2', '&gt;='))
{
    Mage::getSingleton('eav/config')
    -&gt;getAttribute('customer', 'eadni')
    -&gt;setData('used_in_forms',     array('adminhtml_customer','customer_account_create','customer_account_edit','checkout_register'))
    -&gt;save();
}

$tablequote = $this-&gt;getTable('sales/quote');
$installer-&gt;run("
ALTER TABLE  $tablequote ADD  `customer_eadni` VARCHAR( 255 ) NOT NULL
");

$installer-&gt;endSetup();


and add this code in your config.xml under &lt;global&gt; tag

&lt;fieldsets&gt;
        &lt;customer_account&gt;
             &lt;eadni&gt;&lt;create&gt;1&lt;/create&gt;&lt;update&gt;1&lt;/update&gt;&lt;name&gt;1&lt;/name&gt;&lt;/eadni&gt;
        &lt;/customer_account&gt;

        &lt;checkout_onepage_quote&gt;
            &lt;customer_eadni&gt;
                &lt;to_customer&gt;eadni&lt;/to_customer&gt;
            &lt;/customer_eadni&gt;
        &lt;/checkout_onepage_quote&gt;
        &lt;customer_account&gt;
            &lt;eadni&gt;
                &lt;to_quote&gt;customer_eadni&lt;/to_quote&gt;
            &lt;/eadni&gt;
        &lt;/customer_account&gt; 
    &lt;/fieldsets&gt;


can´t save new field in magento(1.9) customer registration checkout form
I am following the recipe of the rice I am making which is:


Add 2 cups of water and heat
Add 1 teaspoon of salt and 1 teaspoon of butter
Add 1 cup of rice then wait for 18 to 20 minutes and it should be ready to serve.


But the problems with this are:


The rice is always watery 
It is flavorless 
Some rice gets burnt and makes it really hard to clean the pan

