SnapHost.com Contact Us    Create an account    Log In  

CONTACT US


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.

The code will work with ProCaptcha accounts only.






File Upload form


How to use ProCaptcha code

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

2. Specify a form in your profile with id E3C5WSP8Q6KF.



<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="E3C5WSP8Q6KF" />
<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;
}
</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/captcha/WebFormManagement.aspx"><img
alt="Security Code" style="border:1px solid #999999;"
src="http://www.SnapHost.com/captcha/WebForm.aspx?id=E3C5WSP8Q6KF&ImgType=2" /></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>




What our clients say
I searched for a long time for a CAPTCHA script that was effective but simple to install and use. I luckily found the one provided by SnapHost on seaching Google. It was so simple to use and was installed in minutes. The effect was to almost entirely rid my site of Spam. Thank you SnapHost for sharing the script with us. Keep up the good work.
- Denys A -