Registration Form validation With Javascripts

<html> <body> <script> function validate() { var name = document.getElementById(“name”).value; var email = document.getElementById(“email”).value; var phone = document.getElementById(“phone”).value; var error_name_id = document.getElementById(“error_name”); var error_email_id = document.getElementById(“error_email”); var error_phone_id = document.getElementById(“error_phone”); var error_msg = document.getElementById(“error_msg”); var success_msg = document.getElementById(“success_msg”); error_name_id.innerHTML =””; error_email_id.innerHTML =””; error_phone_id.innerHTML =””; if(name == null || name == “” || name == ” … Read moreRegistration Form validation With Javascripts