I want to set minlength for first & last name and also to the phone number. Also numbers only to the phone number and alphabets to the names in the form of shipping address that appears in checkout page.

In which file do I need to edit the form for validating the above fields. Please let me know the path of file and the syntax for the validating the checkout forms for shipping address and add new address form.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.