Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/feedback.htm
<!-- TITLE: Feedback -->

<script LANGUAGE="JavaScript">
<!-- 

function validate() {

var error = "";
var f = document.frm;

if (f.name.value == "") {
  error += "Please enter your name so we can reply to you personally.\n";
}
if(f.email.value.indexOf(".")<1 || f.email.value.indexOf("@") < 1) {
  error += "Enter your email address so we can reply to you.\n";
  f.email.focus();
}
if (f.comments.value == "") {
  error += "Enter your comments of up to 1000 chars.\n";
}

  if (!error) return true;
  else{
    msg = "Oops! There were errors with your form.\n\n" + error;
    window.alert(msg);
    return false;
  }
}

function CommentsChange(){
  var f = document.frm;
  txtCount(f.comments,f.commentsleft,1000);
}

// -->
</script>

<p class=pagetitle>Feedback</p>

<b>Bold fields are required</b>

<form name=frm method="POST" onSubmit="return validate();">

<input type=hidden name=page value="feedback">

<span class=err>##err_msg##</span>

<p>

<table border=0 cellspacing=0 cellpadding=0 width=415>

<tr><td align="right" valign="top"><b>Name:</b>&nbsp;&nbsp;</td>

<td><input name=name value="##name##" size="30"></td></tr>


<tr><td>&nbsp;</td><td>&nbsp;Your Full Name.</td></tr>

<tr><td colspan=2>&nbsp;</td></tr>

<tr><td align="right" valign="top"><b>Email:</b>&nbsp;&nbsp;</td>

<td><input name=email value="##email##" size=30></td></tr>


<tr><td>&nbsp;</td><td>&nbsp;Email address we should reply to</td></tr>

<tr><td colspan=2>&nbsp;</td></tr>

<tr><td align="right" valign="top">Your URL:&nbsp;&nbsp;</td>
<td><input name=url value="##url##" size=30></td></tr>
<tr><td>&nbsp;</td><td>&nbsp;URL of your site (optional)</td></tr>

<tr><td colspan=2>&nbsp;</td></tr>


<tr><td align="right" valign="top">Found Us:&nbsp;&nbsp;</td>
<td><input name=foundus value="##foundus##" size=30></td></tr>
<tr><td>&nbsp;</td><td>&nbsp;How did you find us?  (optional)</td></tr>

<tr><td colspan=2>&nbsp;</td></tr>


<tr><td align="right" valign="top"><b>Comments:</b>&nbsp;&nbsp;</td>
<td><textarea wrap="virtual" name=comments rows=7 cols=40 onKeyDown="CommentsChange()" onKeyUp="CommentsChange()">##comments##</textarea>
</td></tr>

<tr><td>&nbsp;</td><td>&nbsp;Your message, 
<input readonly type=text name=commentsleft size=3 maxlength=4 value="1000" tabindex=5000>
 characters left</td></tr>

<tr><td colspan=2>

<!-- IF ##EN_IMG_VER## -->

<table border=0>
<tr bgcolor="#ffffff">
<td colspan=3 class=txt8>
Security Measure: <br>
Type characters as shown in the box. Characters are not case sensitive 
</td>
</tr>

<tr bgcolor="#ffffff">
<td><b>Verification Code:</td>
<td colspan=2>

<table border=0>
<tr>
<td>
<input name="img_text" size=20>
</td>
<td>
<img src="index.php?page=image_verify" id="img_ver">
</td>
<td>
<a href="#" OnClick="reloadImage('img_ver');return false;" class=txt8>Refresh</a>
</td>
</tr>
</table>

</td>
</tr>
</table>
<!-- ENDIF -->

</td></tr>

<tr><td colspan=2 align=center><br />


<table width="100%">
<tr><td>
<center>
Submission of this form is subject to our <a href="index.php?page=extra&pg=terms">Terms of Use</a>
<p>

<center><input type=submit class=button value="Submit"></a></center></td></tr></table>

</td></tr>
</table>

</form>

<script>
CommentsChange();
</script>
Return current item: Esvon Personals