0

I want to update the validation message like by default we get This is required field but i want to update like for the firstname i want to fire the First name is required how can i do that?

2
  • In your checkout form or register form? Sep 13, 2019 at 6:26
  • for the both register and checkout Sep 13, 2019 at 6:30

1 Answer 1

1

Just go-to that input field and add a custom attribute "data-msg-required"

data-msg-(validator name), For Ex:

<input name="qty" id="qty" class="input-text" type="text" data-validate='{"required":true}' data-msg-required="Please select size."/> 
2

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.