Magento Forum

   
limit input lenght (maxlenght) of admin input field
 
anilbiswal
Jr. Member
 
Total Posts:  14
Joined:  2011-04-30
 

Hi there,

I\’m trying to limit the input lenght (e.g. maxlenght) of two attributes in the admin backend in the customer edit interface (fields: firstname, lastname). The form there is being generated and unfortunately I can\’t figure out where exactly to add the html element. Anyone with a hint on this?

Thx in advance

 
Magento Community Magento Community
Magento Community
Magento Community
 
Alchemical laboratory
Jr. Member
 
Total Posts:  23
Joined:  2009-05-28
 

Hi, here is example how you can add new custome attribute in you module:  Add Customer attribute in Magento module , based on it I think you can guess how to update model of existing one.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top