I am working on HTML5 form validation. If a user tries to submit the form with required
input field empty, it displays an error message as shown in the picture.
But, I would like to customize the error message to something like "Please provide a valid password"
. How can I achieve this? Is javascript only the solution for this?
-thanks