Advertisement
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: |
function checkform ( form ){
if (form.Name.value == "" || form.Name.value == "first name" || form.Name.value.length < 2 ) {
alert( "Please enter your first name." );
form.Name.focus();
form.Name.value = "";
return false ;
}
if (form.Email1.value == "" || form.Email1.value == "primary email" || form.Email1.value.length < 5) {
alert( "Please enter your email address." );
form.Email1.value = "";
form.Email1.focus();
return false ;
}
// ** If all fields pass the check, submit the form **
return true ;
}
|
|
Loading Advertisement... |