Hi all i am using the following javascrip to get users to enter in the following required fields before they can submit the form. However everything it working perfectly but within the prompt the script has the F(function) code still there. I.E. F05_SA_Full_Name, F06_Office_Name, ect. I only want it to display the Full_Name without the F05, infront of it on the prompt. Is there a way to hide the Function key within the script to display on the input name as something like Full Name, Office Name, ect? If I take out the F05, ect when i get the form it is blank.


Here is the code:
Code:
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//-->
</script>
</head>

<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" background="/content/user/assets/images/autogen/contentBG.gif">

<!-- start MAIN -->
<table cellpadding="0" cellspacing="0" border="0" width="799">
 <tr valign="top" align="left">
  <td>
<!-- start LEFT -->
   <table border="0" cellspacing="0" cellpadding="0">
    <tr valign="top" align="left">
     <td width="591" align="center">

      <table id="paragraph_content" border="0" cellspacing="0" cellpadding="0" width="100%">
       <tr>
        <td valign="top"></a></td>
       </tr>
       <tr height="35">
        <td>&nbsp;</td>
       </tr>
       <tr>
        <td valign="top" align="center">

         <table id="content" border="0" cellpadding="0" cellspacing="25" width="100%">
          <tr>
            <td valign="top"><span class="style1 style1"><SPAN class="font12b">New Agent Press Release </SPAN>Form<br>
Please use the below form to send your press release information. If photos or additional attachments are required, you will receive a notification AFTER you submit the form.</span></td>
            </tr>
          <tr>
            <td valign="top"><form action="/mailform.do" method="post">
              <input type="hidden" name="mailto" value="---------------">
              <input type="hidden" name="subject" value="New Agent Press Release">
              <input type="hidden" name="dept" value="confirm.gif">
              <input type="hidden" name="name" value="F04_Full_Name">
              <table width="538" border=0 align="center" cellpadding=3 cellspacing=3 bgcolor="#FFFFFF">
                <tr>
                  <td colspan="2"><h3 align="center" class="style4">FILL OUT ENTIRE FORM. &nbsp;INCOMPLETE FORMS WILL NOT BE PROCESSED. </h3>
                      <h3 align="center" class="style6"><font face="Verdana,Arial,Helvetica">New Agent Press Rlease Form </font><font face="Verdana,Arial,Helvetica" size="-1"> </font></h3></td>
                </tr>
                <tr>
                  <td colspan="2" align="center"><span class="style2"><strong><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">Region: </FONT></strong></span><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">
                    <input name="F01_Region" type="radio" value="Region1">
                    Region 1
                    <input name="F01_Region" type="radio" value="Region2">
                    Region 2
                    <input name="F01_Region" type="radio" value="Region3">
                    Region 3
                    <input name="F01_Region" type="radio" value="Region4">
                    Region 4</FONT></td>
                </tr>
                <tr>
                  <td colspan="2" align="right"><p align="center"><span class="style2"><strong><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">Title:</FONT></strong></span> <FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">
                      <input name="F02_Title" type="radio" value="associate">
                      Sales Associate</FONT> <FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">
                      <input name="F02_Title" type="radio" value="broker">
                      Broker Sales Associate<br>
                      </FONT> <FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">
                      <input name="F02_Title" type="radio" value="other">
                      Other
                      <input name="F03_Title_Other" type="text" id="title_other" size="25" maxlength="40">
                  </FONT></td>
                </tr>
                <tr>
                  <td height="34" colspan="2"><div align="left">
                    <p><span class="style4"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">Do you have a Photo on Cbmoves: </FONT></span> <FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">
                    <input name="F04_Photo_On_Cbmoves" type="radio" value="yes">
Yes</FONT> <FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">
<input name="F04_Photo_On_Cbmoves" type="radio" value="no">
No</FONT></p>
                    </div></td>
                </tr>
                <tr>
                  <td width="50%" align="right"><div align="left"><span class="style2"><strong><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1"><span class="style4">Sales Associates Full Name:</span><br> </FONT></strong></span>
                          <input type="text" name="F05_SA_Full_Name" value="" size=25 maxlength=40>
                  </div></td>
                  <td width="50%" align="right"><div align="left"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1"><span class="style2"><strong>Sales Office Name:</strong></span>
                            <input type="text" name="F06_Office_Name" size="25" maxlength="40">
                  </FONT></div></td>
                </tr>
                <tr>
                  <td align="right"><div align="left"><span class="style2"><strong><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">Home Phone:
                            <strong><font face="Verdana, Arial, Helvetica, sans-serif" size="-1">
                            <input type="text" name="F07_Home_Phone" size="25" maxlength="40">
                            </font></strong></FONT></strong></span></div></td>
                  <td align="right"><div align="left"><span class="style2"><strong><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">Office Phone: </FONT></strong></span>
                          <input name="F08_Office_Phone" type="text" id="Office_Phone" size="25" maxlength="65">
                  </div></td>
                </tr>
                <tr>
                  <td align="right"><div align="left"><span class="style4"><font face="Verdana,Arial,Helvetica" size="-1">Email </font></span><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1">(ex:<span class="style5">jane.doe@cbmoves.com</span>)</FONT><font face="Verdana,Arial,Helvetica" size="-1">: </font>
                          <input type="text" name="email" value="" size=25 maxlength=40>
                  </div></td>
                  <td align="right"><div align="left"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1"><span class="style2"><strong>Cell:<br></strong></span>
                            <input name="F09_Agent_Cell" type="text" id="agent_cell" size="25" maxlength="40">
                  </FONT></div></td>
                </tr>
                <tr>
                  <td colspan="2" align="right"><div align="left"><font face="Verdana,Arial,Helvetica" size="-1"><span class="style2"><strong>Counties you cover:</strong></span>
                            <input name="F10_Counties_Covered" type="text" id="counties_covered" value="" size="40">
                  </font></div></td>
                </tr>
                <tr>
                  <td align="right"><div align="left"><span class="style2"><strong><font face="Verdana,Arial,Helvetica" size="-1"">Town of residence: </font></strong></span>
                          <input name="F11_Residence" type="text" id="residence" value="" size=25 maxlength=65>
                  </div></td>
                  <td align="right"><div align="left"><font face="Verdana,Arial,Helvetica" size="-1"><span class="style2"><strong>How Long?</strong></span>
                            <input name="F12_Residence_Length" type="text" id="residence_length" size="25" maxlength="40">
                  </font></div></td>
                </tr>
                <tr>
                  <td align="right"><div align="left"><span class="style2"><strong><font face="Verdana,Arial,Helvetica" size="-1">Memberships:(if none type none) </font></strong></span>
                      <textarea name="F13_Memberships" cols="25" id="memberships"></textarea>
                  </div></td>
                  <td align="right"><div align="left"><font face="Verdana,Arial,Helvetica" size="-1"><span class="style4">Community Involvement:</span>
                            <textarea name="F14_Community_Involvement" cols="25" id="community_involvement"></textarea>
                  </font></div></td>
                </tr>
                <tr>
                  <td align="right"><div align="left"><span class="style2"><strong><font face="Verdana,Arial,Helvetica" size="-1">Unique Business Skills: </font></strong></span>
                      <textarea name="F15_Unique_Business_Skills" cols="25" id="talent"></textarea>
                  </div></td>
                  <td align="right"><div align="left"><font face="Verdana,Arial,Helvetica" size="-1"><span class="style2"><strong>Previous Occupation:</strong></span>
                            <textarea name="F16_Previous_Occupation" cols="25" id="occupation"></textarea>
                  </font></div></td>
                </tr>
                <tr>
                  <td align="right"><div align="left"><span class="style2"><strong><font face="Verdana,Arial,Helvetica" size="-1">Languages Spoken: </font></strong></span>
                          <input name="F17_Languages" type="text" id="languages" value="" size=25 maxlength=50>
                  </div></td>
                  <td align="right"><div align="left"><font face="Verdana,Arial,Helvetica" size="-1"><span class="style2"><strong>Manager Comment:</strong></span>
                            <textarea name="F18_Manager_Comment" cols="25" id="manager"></textarea>
                  </font></div></td>
                </tr>
                <tr>
                  <td colspan="2"><div align="center"><font face="Verdana,Arial,Helvetica" size="-1"><span class="style4">Additional Comments: </span><br>
                      <textarea name="F19_Additional_Comments" cols="45" id="textarea"></textarea>
                  </font></div></td>
                </tr>
                <tr>
                  <td colspan=2 align=center><input type="submit" name="submit" value="Send Now" onClick="MM_validateForm('email','','R','F05_SA_Full_Name','','R','F06_Office_Name','','R','F07_Home_Phone','','R','F08_Office_Phone','','R','F09_Agent_Cell','','R','F10_Counties_Covered','','R','F11_Residence','','R','F12_Residence_Length','','R','F13_Memberships','','R','F14_Community_Involvement','','R','F15_Unique_Business_Skills','','R','F16_Previous_Occupation','','R','F17_Languages','','R','F18_Manager_Comment','','R','F19_Additional_Comments','','R');return document.MM_returnValue">
            &nbsp;
                    <input type="reset" name="reset" value="Reset this form"></td>
                </tr>