CODE FOR REGISTRATION FORM
<html> <head> <script> function submit1() { var a=document.form.name.value; var b=document.form.mobile.value; var c=document.form.email.value; var d=document.form.address.value; var e=document.form.pin.value; var f=document.form.password.value; var g=document.form.confirm.value; var apos=c.indexOf("@"); var dpos=c.lastIndexOf("."); if(a=="") { alert("enter your name"); } else if(b.length!=10 ) { alert("enter valid mobile number"); } else if(dpos - apos <2) { alert("enter valid E-mail Address "); } else if(e.length!=6) { alert("