0

How do I go about setting the character length for input forms, preferably checkout, on magento 1.9. I'm aware that Magento has a MaxLength variable but am Unsure on how to implement it.

2
  • in which input fields to set length Apr 27, 2020 at 14:23
  • First and last name
    – totneschap
    Apr 27, 2020 at 15:00

1 Answer 1

1

For Magento1 goto app/design/frontend/themename/default/template/customer/widget/name.phtml

find first name - to add 'maxlength="30"' 
find last name  - to add 'maxlength="30"'
1
  • 1
    Thank you, that sorted it.
    – totneschap
    Apr 29, 2020 at 13:04

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.