Let's say I use type:"email", can I get a true or false? since input type already have their own validation.
I want to use it in a javascript and if i can just do this (this is just an example code)
const email = document.getElementById('email').value;
if(email == true){
window.alert(true);
};
if user put the correct email, then it will pops an alert.