var form = document.basic_form;
if ( form.first_name.value == "")
{
alert("You have to enter first name.");
form.first_name.focus();
return false;
}
else if (form.last_name.value =="")
{
alert("You have to enter last name.");
form.last_name.focus();
return false;
}
else if ( form.head_line.value == "")
{
alert("You have to enter headline.");
form.headline.focus();
return false;
}
else {
form.submit();
}