//this is using for parent area client side input form validations function missCheck(myform) { for (var i=0;i= 0) { alert("Your can not use spaces, punctuation or symbols in your username or password."); field.focus(); return false; } } if(txt.indexOf(" ") >=0 && txt.indexOf(" ")!=(txt.length-1)) { alert("Your can not use spaces, punctuation or symbols in your username or password."); field.focus(); return false; } return true; } function symCheck(field) { var txt=field.value; var invalids = "!@#$%^&*()-~,'<.>/?;:\|"; for(i=0; i= 0) { alert("Your can not use spaces, punctuation or symbols in your username or password."); field.focus(); return false; } } if(txt.indexOf(" ") >=0 && txt.indexOf(" ")!=(txt.length-1)) { alert("Your can not use spaces, punctuation or symbols in your username or password."); field.focus(); return false; } return true; } function matchCheck(f1,f2) { if(f1.value!=f2.value) { alert("Please re-type your password and confirm it."+"\n"+"Make sure the information is the same in both fields."); f1.focus(); return false; } return true; }