I am creating a form that I need to validate: Email, CPF, Birth Date, Contact Phone, Optional Phone .
Someone knows how to do this with that "mask", that when the person types the date for example, does not need to insert the "/" slashes, javascript does this. Just like the other fields I've listed?
Another thing, in the other fields like Name, Address, etc ... , if they are not entered, sends an alert asking to be inserted.
Example:
Note: Pure Javascript .....