I need to know, How can I change the default text for each html validation to a custom error message.
I read this article: https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Form_validation
And this is my html code:
<form>
<input id="choose" name="i_like" required>
<button>Submit</button>
</form>
And the message is :
Please fill out this field.
The question is , I want to change this default error message.
EDITED:
And also I want to define a fixed message and change a part of this message as custom error message for validation, at this time this is my second problem.
e.g:
"Please enter [----] before send"
Thank you for your helping.