How to add validation of email id in input field
×


How to add validation of email id in input field ?

3600

For professional, it's important to user don't enter wrong values, for that we should have to validate all the fields like mobile number field, email id field.

Please check how can u easily validate the email id input field.

<form>
<input type="email" id="emailid" placeholder="Email" required
oninvalid="setCustomValidity('Please Enter Proper Email Id')"
onchange="try{setCustomValidity(")}catch(e){}"/>

<input type="submit">
</form>



Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments