Hai, whats wrong with this function.

Code:
function validate_fields(){ 
if (feedback.txtname.value==""){
alert("Name is not Optional. Please Enter Your Name.");
feedback.txtname.focus(); 
return false; 
}elseif (feedback.txtemail.value==""){
alert("Please Enter Your Email Address.");
feedback.txtemail.focus(); 
return false; 
}elseif (feedback.txtcomments.value==""){
alert("Please type your message.");
feedback.txtcomments.focus(); 
return false; 
}else{
}
}
Code:
... onSubmit="return validate_fields(feedback)....
If i use only the following part. it works very well. Great Code !!
but if i put other elaseif parts,

Code:
if (feedback.txtname.value==""){
alert("Name is not Optional. Please Enter Your Name.");
feedback.txtname.focus(); 
return false; 
}