There is a slight difference from previous versions, an additional table reference for customer form fields.
Table  -  customer_form_attribute , Here we are storing customer form fields related with account add, edit, checkout etc…

The attribute adding process is same as in previous post..but need additional lines for updating the new table, see below

$customerattribute = Mage::getModel('customer/attribute')->loadByCode('customer','customcode');
$forms           = array('customer_account_edit','customer_account_create','adminhtml_customer','checkout_register');
$customerattribute->setData('used_in_forms',$forms);
$customerattribute->save();

Let me know if have any feedbacks…

© 2014 Developers Corner Suffusion theme by Sayontan Sinha