﻿function validate() {
if (document.check.fname.value.length < 1)
{
alert("Please enter your Full name");
return false;
}
if (document.check.lname.value.length <3)
{
alert("Please enter your Sur Name");
return false;
}
if (document.check.email.value.length <3)
{
alert("Please enter your valid email address");
return false;
}if (document.check.message.value.length <3)
{
alert("Please enter your message");
return false;
}
if (document.check.Subject.value.length <7)
{
alert("Please select the subject");
return false;
}
return true;
}
