Ready-to-use "Tell-a-Friend" referral form

This form makes it easy for your visitors and regular customers to refer others to you. It's considered one of the best marketing tools because it doesn't consume any resources and it works by itself without your constant control. This form sends a message about your website to your visitors' friends.

This form is completely customizable!
JavaScript validates required fields; plus there is a verification on the server-side.
Captcha image protects the form against SPAM.
Captcha image can be reloaded.

This Referral or Tell-a-Friend HTML form is available to ProCaptcha customers only. To start using this form you need to create an account:





Ready-to-use Tell-a-Friend referral form


How to use ProCaptcha code

1. Create an account if you have not done it yet.

2. Copy and paste the code below into your webpage.

3. Specify a form in your profile with SnapHostID LF2HS6XZN8B6.



<h2>Tell-a-Friend about this site</h2>
<form id="ExampleForm" onsubmit="return ValidateForm(this);"
action="http://www.SnapHost.com/captcha/WebFormSubmit.aspx" method="post">
<input id="SnapHostID" name="SnapHostID" type="hidden" value="LF2HS6XZN8B6" />
<script type="text/javascript">
function ValidateForm(frm) {
if (frm.VisitorsName.value == "")
{alert('Your name is required.');frm.VisitorsName.focus();return false;}
if (frm.FriendsEmail.value == "")
{alert('Email address is required.');frm.FriendsEmail.focus();return false;}
if (frm.FriendsEmail.value.indexOf("@") < 1 ||
frm.FriendsEmail.value.indexOf(".") < 1)
{alert('Please enter a valid email address.');frm.FriendsEmail.focus();return false;}
if (frm.CaptchaCode.value == "")
{alert('Enter security code.');frm.CaptchaCode.focus();return false;}
return true; }
function ReloadCaptchaImage(captchaImageId) {
var obj = document.getElementById(captchaImageId);
var src = obj.src;
var date = new Date();
var pos = src.indexOf('&rad=');
if (pos >= 0) { src = src.substr(0, pos); }
obj.src = src + '&rad=' + date.getTime();
return false; }
</script>
<table border="0" cellpadding="4" cellspacing="0" style="width:230px; margin:auto; text-align:left;">
<tr><td colspan="2">
<a title="Please enter your name, so your friend will know who sent the message"
onclick="alert('Please enter your name,\nso your friend will know who sent the message');"
style="text-decoration:underline">Your name</a><br />
<input name="VisitorsName" type="text" maxlength="60" style="width:99%; border:1px solid #999999;" />
</td></tr><tr><td colspan="2">
Friend's email address<br />
<input name="FriendsEmail" type="text" maxlength="60" style="width:99%; margin-bottom:5px; border:1px solid #999999;" />
</td></tr><tr valign="bottom"><td>
<i>Security code</i>
<input name="CaptchaCode" type="text" maxlength="6"
style="width:80px; margin-bottom:1px; border:1px solid #CC0000; text-align:center;" />
</td><td align="right">
<a href="http://www.SnapHost.com"><img id="CaptchaImage"
alt="Security Code" title="Anti-spam web forms" style="border:1px solid #999999;"
src="http://www.SnapHost.com/captcha/WebForm.aspx?id=LF2HS6XZN8B6&ImgType=2" /></a>
<br /><a href="#" onclick="return ReloadCaptchaImage('CaptchaImage');"><span style="font-size:12px;">reload image</span></a>
</td></tr><tr>
<td colspan="2"><br />
<input id="Submit" name="Submit" type="submit" value="Tell your friend about this site!" style="width:100%;" />
</td></tr>
</table>
</form>