Assignment No. 03
Semester: Fall 2009
IT430 E-Commerce
function ChkData(){
if (document.Form1.Name.value.length <1)>
window.alert("Name field is empty!");
document.Form1.Name.focus();
return;
}
if (document.Form1.EAddr.value.length <>
window.alert("Email can not be empty!");
document.Form1.EAddr.focus();
return;
}
if (document.Form1.Paswrd.value.length <>
window.alert("Your password must be at least 6 character long");
document.Form1.Paswrd.focus();
return;
}
}
Registration Form
________________________________________
Registration Form
___________________________________________________