I am using magento version, I want to add new custom field into customer form and then save this new field into database. And Again on form edit I want to back this filed on customer form.

In magento customer form(in admin panel) I want to pass a new field value as hidden field. And when I save this customer form, my new field will be save into database and on editing customer form want this new field back into form for editing purpose.

Please suggest me, I look some off the PHP file in folder /STA/app/code/core/Mage/Customer/, But I did not get the way where I add my custom PHP code to add this new field into database.

My main purpose is that I want to pass an extra field into customer form and then save this new field into database and want to back it on editing the form.

1 Answer 1


Mukesh,There are no need to work at STA/app/code/core/Mage/Customer/Model.it is too danger to change to At this place.

There are lot of tutorial in available at magento,Please follow those,it will help you





  • Many thank Keyul , I want to know where/how can I get post data when we submit the customer form. Once I will get that custom filed data I will try to insert this filed into database from you gave suggestion link. Jan 28, 2015 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.