function ValidationNews()
{
var ErrMsg = '';
var flag = true;
if ((document.forms[0].ctlReqInfo_txtName.value.length==0) ||
(document.forms[0].ctlReqInfo_txtName.value==null)||(document.forms[0].ctlReqInfo_txtName.value=='Your Name'))
{
ErrMsg+="Please Enter Name \n";
}
if((document.forms[0].ctlReqInfo_txtEmail.value.length==0) || (document.forms[0].ctlReqInfo_txtEmail.value==null)||(document.forms[0].ctlReqInfo_txtEmail.value=='Email Address'))
{
ErrMsg+="Please Enter E-Mail Address \n";
}
else{
bemail1= new RegExp(/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/);
bemail2 = bemail1.exec(document.forms[0].ctlReqInfo_txtEmail.value);
if(!bemail2)
{
ErrMsg+="Invalid Email Address \n";
}
}
if((document.forms[0].ctlReqInfo_txtComment.value.length==0) || (document.forms[0].ctlReqInfo_txtComment.value==null)||(document.forms[0].ctlReqInfo_txtComment.value=='Comments'))
{
ErrMsg+="Please Enter Comments \n";
}
if (ErrMsg != '')
{
alert(ErrMsg);
flag=false;
return flag;
}
else
{
flag=true;
return flag;
}
}
|
 |
Why DRTV? Today, over 97% of all households in the US have access to television. This proves the obvious point that infomercials are an effective method to reaching your target market. Infomercials marketing breaks out unwanted clutter and differentiate your product. Viewers are being educated and involved in your product. As a result, interest and sales will drive up proving the success DRTV for your product.
|