I am trying to Change Validation in customer Registration page for first name and last name.

I know i can do this by setting maxlimit by overriding core template in theme folder.


But i dont seem this to be solid.

Any other Suggestions


1 Answer 1


Answering my Own Question.

Some of the suggestions I found

  1. Add a Js mixin and extend the validation rules.js
  2. In customer_eav_attribute table, modify validate rules column min and max length
  3. Adding class to the input type validate-length maximum-length-10 minimum-length-1


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.