0

Please help I want to submit my contact form to my email. This is my project and I have to submit it today

Here is the code that I used for

****HTML file****

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<title>Salus Management Consultants</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
    background-color: #EEFFB9;
}
-->
</style>
<script language="javascript" type="text/javascript" src="contact_script.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (slicing contact us.psd) -->
<table width="767" height="701" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
        <td colspan="19">
            <img src="images/contact-us_01.jpg" width="766" height="5" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="5" alt=""></td>
    </tr>
    <tr>
        <td rowspan="15">
            <img src="images/contact-us_02.jpg" width="20" height="695" alt=""></td>
        <td colspan="4" rowspan="2">
            <img src="images/logo.jpg" width="229" height="66" alt=""></td>
        <td>
            <a href="index.html"><img src="images/but1.jpg" width="47" height="53" alt=""></a></td>
        <td colspan="2">
            <a href="about-us.html"><img src="images/but2.jpg" width="65" height="53" alt=""></a></td>
        <td>
            <a href="Specialties-Covered.html"><img src="images/but3.jpg" width="131" height="53" alt=""></a></td>
        <td colspan="5">
            <a href="candidates.html"><img src="images/but4.jpg" width="77" height="53" alt=""></a></td>
        <td>
            <a href="contact-us.html"><img src="images/but5.jpg" width="71" height="53" alt=""></a></td>
      <td colspan="3" rowspan="3" width="106" height="92"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','106','height','92','src','clock/Ceas','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','clock/Ceas' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="106" height="92">
        <param name="movie" value="clock/Ceas.swf" />
          <param name="quality" value="high" />
          <embed src="clock/Ceas.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="106" height="92"></embed>
        </object></noscript></td>
  <td rowspan="15">
            <img src="images/contact-us_10.jpg" width="20" height="695" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="53" alt=""></td>
    </tr>
    <tr>
        <td colspan="10" rowspan="3">
            <img src="images/contact-us_11.jpg" width="391" height="152" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="13" alt=""></td>
    </tr>
    <tr>
        <td colspan="4" rowspan="3">
            <img src="images/contact-us_12.jpg" width="229" height="199" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="26" alt=""></td>
    </tr>
    <tr>
        <td colspan="3">
            <img src="images/contact-us_13.jpg" width="106" height="113" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="113" alt=""></td>
    </tr>
    <tr>
        <td colspan="7">
            <img src="images/contact-us_14.jpg" width="283" height="60" alt=""></td>
        <td width="200" height="159" colspan="5" rowspan="3" valign="top" background="images/contact-us_15.jpg" class="clear"><p class="clear">Corporate Office- Mumbai</p>
          <p>&nbsp;</p>
          <p class="clear">Salus Management Consultants<br />
          701, Viceroy Park, Plot Number 53<br />
          Sector 44 A, Nerul (W)<br />
          Navi Mumbai - 400706</p>
          <p>&nbsp;</p>
          <p class="clear">Email:<br />
          <br />
        [email]contact@salusglobal.net[/email]</p></td>
<td rowspan="11">
            <img src="images/contact-us_16.jpg" width="14" height="490" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="60" alt=""></td>
    </tr>
    <tr>
        <td rowspan="5">
            <img src="images/contact-us_17.jpg" width="2" height="352" alt=""></td>
        <td colspan="9">
            <img src="images/contact-us_18.jpg" width="492" height="91" alt=""></td>
        <td rowspan="10">
            <img src="images/contact-us_19.jpg" width="18" height="430" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="91" alt=""></td>
    </tr>
    <tr>
        <td rowspan="3">
            <img src="images/contact-us_20.jpg" width="9" height="254" alt=""></td>
        <td width="469" height="245" colspan="7" rowspan="2" valign="top" background="images/contact-us_21.jpg">
        <form id="form1" name="form1" method="post" action="contact.php">
          <table width="469" border="0">
            <tr>
              <td width="84">* <strong>Full Name</strong></td>
              <td width="375"><label>
                <input name="yourName" type="text" id="yourName" size="45" />
              </label></td>
            </tr>
            <tr>
              <td>*<strong> Title</strong></td>
              <td><label>
                <input name="title" type="text" id="title" size="45" />
              </label></td>
            </tr>
            <tr>
              <td>* <strong>Organization</strong></td>
              <td><label>
                <input name="organization" type="text" id="organization" size="45" />
              </label></td>
            </tr>
            <tr>
              <td>* <strong>Location</strong></td>
              <td><label>
                <input name="location" type="text" id="location" size="45" />
              </label></td>
            </tr>
            <tr>
              <td>* <strong>Telephone</strong></td>
              <td><label>
                <input name="phone" type="text" id="phone" size="45" />
              </label></td>
            </tr>
            <tr>
              <td>* <strong>E-mail</strong></td>
              <td><label>
                <input name="email" type="text" id="email" size="45" />
              </label></td>
            </tr>
            <tr>
              <td>* <strong>Message</strong></td>
              <td><label>
                <textarea name="message" cols="55" rows="3" id="message"></textarea>
              </label></td>
            </tr>
            <tr>
              <td height="40">&nbsp;</td>
              <td><label>
                <input type="submit" name="button" id="button" value="Submit" onClick="return checkform(this.form)"/>
                <input type="reset" name="button2" id="button2" value="Reset" />
              </label></td>
            </tr>
            <tr>
              <td height="22" colspan="2"><strong>* Mandatory Fields</strong></td>
            </tr>
          </table>
        </form>
        </td>
<td rowspan="3">
            <img src="images/contact-us_22.jpg" width="14" height="254" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="8" alt=""></td>
    </tr>
    <tr>
        <td colspan="5" rowspan="4">
            <img src="images/contact-us_23.jpg" width="200" height="257" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="237" alt=""></td>
    </tr>
    <tr>
        <td colspan="7">
            <img src="images/contact-us_24.jpg" width="469" height="9" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="9" alt=""></td>
    </tr>
    <tr>
        <td colspan="9">
            <img src="images/contact-us_25.jpg" width="492" height="7" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="7" alt=""></td>
    </tr>
    <tr>
        <td colspan="6" rowspan="2">
            <img src="images/phone.jpg" width="283" height="43" alt=""></td>
        <td colspan="4" rowspan="5">
            <img src="images/contact-us_27.jpg" width="211" height="78" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="4" alt=""></td>
    </tr>
    <tr>
        <td rowspan="4">
            <img src="images/contact-us_28.jpg" width="6" height="74" alt=""></td>
        <td colspan="3" rowspan="2">
            <a href="www.itlimits.com"><img src="images/contact-us_29.jpg" width="192" height="55" alt=""></a></td>
  <td rowspan="4">
            <img src="images/contact-us_30.jpg" width="2" height="74" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="39" alt=""></td>
    </tr>
    <tr>
        <td colspan="3" rowspan="2">
            <img src="images/contact-us_31.jpg" width="164" height="29" alt=""></td>
        <td colspan="3" rowspan="2">
            <img src="images/phone-33.jpg" width="119" height="29" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="16" alt=""></td>
    </tr>
    <tr>
        <td colspan="3" rowspan="2">
            <img src="images/contact-us_33.jpg" width="192" height="19" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="13" alt=""></td>
    </tr>
    <tr>
        <td colspan="6">
            <img src="images/contact-us_34.jpg" width="283" height="6" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="6" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="images/spacer.gif" width="20" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="2" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="9" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="153" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="65" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="47" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="7" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="58" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="131" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="8" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="14" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="18" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="6" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="31" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="71" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="90" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="2" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="14" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="20" height="1" alt=""></td>
        <td></td>
    </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>

**for PHP**

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<title>Salus Management Consultants</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
    background-color: #EEFFB9;
}
-->
</style>
<script language="javascript" type="text/javascript" src="js/contact_script.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (slicing contact us.psd) -->
<table width="767" height="701" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
        <td colspan="19">
            <img src="images/contact-us_01.jpg" width="766" height="5" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="5" alt=""></td>
    </tr>
    <tr>
        <td rowspan="15">
            <img src="images/contact-us_02.jpg" width="20" height="695" alt=""></td>
        <td colspan="4" rowspan="2">
            <img src="images/logo.jpg" width="229" height="66" alt=""></td>
        <td>
            <img src="images/but1.jpg" width="47" height="53" alt=""></td>
        <td colspan="2">
            <img src="images/but2.jpg" width="65" height="53" alt=""></td>
        <td>
            <img src="images/but3.jpg" width="131" height="53" alt=""></td>
        <td colspan="5">
            <img src="images/but4.jpg" width="77" height="53" alt=""></td>
        <td>
            <img src="images/but5.jpg" width="71" height="53" alt=""></td>
        <td colspan="3" rowspan="3" width="106" height="92"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','106','height','92','src','clock/Ceas','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','clock/Ceas' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="106" height="92">
        <param name="movie" value="clock/Ceas.swf" />
          <param name="quality" value="high" />
          <embed src="clock/Ceas.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="106" height="92"></embed>
        </object></noscript></td>
  <td rowspan="15">
            <img src="images/contact-us_10.jpg" width="20" height="695" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="53" alt=""></td>
    </tr>
    <tr>
        <td colspan="10" rowspan="3">
            <img src="images/contact-us_11.jpg" width="391" height="152" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="13" alt=""></td>
    </tr>
    <tr>
        <td colspan="4" rowspan="3">
            <img src="images/contact-us_12.jpg" width="229" height="199" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="26" alt=""></td>
    </tr>
    <tr>
        <td colspan="3">
            <img src="images/contact-us_13.jpg" width="106" height="113" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="113" alt=""></td>
    </tr>
    <tr>
        <td colspan="7">
            <img src="images/contact-us_14.jpg" width="283" height="60" alt=""></td>
        <td width="200" height="159" colspan="5" rowspan="3" valign="top" background="images/contact-us_15.jpg" class="clear"><p class="clear">Corporate Office- Mumbai</p>
          <p>&nbsp;</p>
          <p class="clear">Salus Management Consultants<br />
          701, Viceroy Park, Plot Number 53<br />
          Sector 44 A, Nerul (W)<br />
          Navi Mumbai - 400706</p>
          <p>&nbsp;</p>
          <p class="clear">Email:<br />
          <br />
        [email]contact@salusglobal.net[/email]</p></td>
<td rowspan="11">
            <img src="images/contact-us_16.jpg" width="14" height="490" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="60" alt=""></td>
    </tr>
    <tr>
        <td rowspan="5">
            <img src="images/contact-us_17.jpg" width="2" height="352" alt=""></td>
        <td width="492" height="91" colspan="9" valign="top" background="images/contact-us_118.jpg" ><p>&nbsp;</p>
        <p class="contact">Thanks for Contacting Us. We will revert back to you soon.</p>
        </td>
  <td rowspan="10">
            <img src="images/contact-us_19.jpg" width="18" height="430" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="91" alt=""></td>
    </tr>
    <tr>
        <td rowspan="3">
            <img src="images/contact-us_20.jpg" width="9" height="254" alt=""></td>
        <td width="469" height="245" colspan="7" rowspan="2" valign="top" background="images/contact-us_21.jpg">
        <form id="form1" name="form1" method="post" action="contact.php">
          <table width="469" border="0">
            <tr>
              <td width="84" height="21">* <strong>Full Name</strong></td>
              <td width="375">

              <?php

                    //Storing Your name field value filled by the user

                    echo $_POST["yourName"];

              ?>
             </td>
            </tr>
            <tr>
              <td height="22">*<strong> Title</strong></td>
              <td>

              <?php

                    //Storing Your name field value filled by the user

                    echo $_POST["title"];

              ?>

              </td>
            </tr>
            <tr>
              <td height="19">* <strong>Organization</strong></td>
              <td>
              <?php

                    //Storing Your name field value filled by the user

                    echo $_POST["organization"];

              ?>

              </td>
            </tr>
            <tr>
              <td height="23">* <strong>Location</strong></td>
              <td>
              <?php

                    //Storing Your name field value filled by the user

                    echo $_POST["location"];

              ?>
              </td>
            </tr>
            <tr>
              <td height="23">* <strong>Telephone</strong></td>
              <td>
              <?php

                    //Storing Your name field value filled by the user

                    echo $_POST["phone"];

              ?>


              </td>
            </tr>
            <tr>
              <td height="23">* <strong>E-mail</strong></td>
              <td>
              <?php

                    //Storing Your name field value filled by the user

                    echo $_POST["email"];

              ?>

              </td>
            </tr>
            <tr>
              <td height="25">* <strong>Message</strong></td>
              <td>
              <?php

                    //Storing Your name field value filled by the user

                    echo $_POST["message"];

              ?>


              </td>
            </tr>
            <tr>
              <td colspan="2"><label></label></td>
            </tr>
          </table>
        </form>
        </td>
<td rowspan="3">
            <img src="images/contact-us_22.jpg" width="14" height="254" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="8" alt=""></td>
    </tr>
    <tr>
        <td colspan="5" rowspan="4">
            <img src="images/contact-us_23.jpg" width="200" height="257" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="237" alt=""></td>
    </tr>
    <tr>
        <td colspan="7">
            <img src="images/contact-us_24.jpg" width="469" height="9" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="9" alt=""></td>
    </tr>
    <tr>
        <td colspan="9">
            <img src="images/contact-us_25.jpg" width="492" height="7" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="7" alt=""></td>
    </tr>
    <tr>
        <td colspan="6" rowspan="2">
            <img src="images/phone.jpg" width="283" height="43" alt=""></td>
        <td colspan="4" rowspan="5">
            <img src="images/contact-us_27.jpg" width="211" height="78" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="4" alt=""></td>
    </tr>
    <tr>
        <td rowspan="4">
            <img src="images/contact-us_28.jpg" width="6" height="74" alt=""></td>
        <td colspan="3" rowspan="2">
            <img src="images/contact-us_29.jpg" width="192" height="55" alt=""></td>
        <td rowspan="4">
            <img src="images/contact-us_30.jpg" width="2" height="74" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="39" alt=""></td>
    </tr>
    <tr>
        <td colspan="3" rowspan="2">
            <img src="images/contact-us_31.jpg" width="164" height="29" alt=""></td>
        <td colspan="3" rowspan="2">
            <img src="images/phone-33.jpg" width="119" height="29" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="16" alt=""></td>
    </tr>
    <tr>
        <td colspan="3" rowspan="2">
            <img src="images/contact-us_33.jpg" width="192" height="19" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="13" alt=""></td>
    </tr>
    <tr>
        <td colspan="6">
            <img src="images/contact-us_34.jpg" width="283" height="6" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="6" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="images/spacer.gif" width="20" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="2" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="9" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="153" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="65" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="47" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="7" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="58" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="131" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="8" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="14" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="18" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="6" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="31" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="71" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="90" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="2" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="14" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="20" height="1" alt=""></td>
        <td></td>
    </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>

**[COLOR="#ff0000"]For java script validation**

/* -------------- JavaScript Document --------------*/

function validString(str)  //Checking empty text field
{
    if (str.length != 0) 
        return true
    else
        return false
}


function getSelectvalue(list)  //Checking empty list value
{
    var listval = list.options[list.selectedIndex].value
    return listval
}



function validEmail(email)  //Validating email address
{
    var result = false;
    var theStr = new String(email);
    var index = theStr.indexOf("@");  //Checking the "@" sign

    if (index > 0)
    {
            var pindex = theStr.indexOf(".",index);  //Checking the "." sign (ie - .com., .net etc) 
            if ((pindex > index+1) && (theStr.length > pindex+1))
                result = true;
    }
    return result;
}




function checkform(form)        
{

        //-------Checking empty Name field-------
        if (validString(form.yourName.value) == false)  
        {
            alert("Please provide us with your full name")
            form.yourName.focus()   
            return false;
        }       



        //-------Checking empty Title field-------
        if (validString(form.title.value) == false)  
        {
            alert("Please provide us with your Title")
            form.title.focus()   
            return false;
        }   

        //-------Checking empty organization field-------
        if (validString(form.organization.value) == false)  
        {
            alert("Please provide us with your organization details")
            form.organization.focus()   
            return false;
        }   

        //-------Checking empty location field-------
        if (validString(form.location.value) == false)  
        {
            alert("Please provide us with your location")
            form.location.focus()   
            return false;
        }   


        //-------Checking empty Phone Area Code field-------
            if (validString(form.phone.value) == false)  
            {
                alert("Please provide your phone number");
                form.phone.focus()
                return false;
        }   

        else if (isNaN(form.phone.value) == true)  
        {
            alert("Please enter your area phone in number");
            form.phone.focus()
            return false;
        }

        //-------Checking empty Email field-------      
        if (form.email.value == "") 
        {
            alert("Please enter your email address");
            form.email.focus();
            return false;
        }

        //-------Checking valid email address-------
        if (!validEmail(form.email.value))  
        {
            alert("Please enter a complete email address: [email]yourname@yourdomain.com[/email]");
            form.email.focus();
            return false;
        }



       //-------Checking empty Message field-------

        if (validString(form.message.value) == false)  //Checking empty query field
        {
            alert("Please provide us your query")
            form.message.focus()
            return false;               
        }

}


// ----------END OF JAVASCRIPT CODE---------

Edited by Reverend Jim: Fixed formatting

2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by rajarajan07
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.