I am not suggest to use html pattern for validation but it can be use for stop wrong pattern date from an input. Date : YYYY-MM-DD So you can use pattern=”[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])” on input type text
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.