frequently requested features, the contact form captcha
! please note that this post has been updated to include fixes from the community, in particular, normans clever fix detailed below !
downlad this:
http://www.interact-studio.co.uk/jcap.zip
jcap, a simple javascript captcha, extract the files to the root of your webserver.
so that you can get to them like this:
http://www.YOURSITE.co.uk/jcap.js
in this folder is a subfolder, full of the jpgs used. keep this in a folder, put it in the root, so you can access it like this:
http://www.YOURSITE.co.uk/cimg/
in actinic paste this into your <head>, where you reference your scripts:
!! FULL URLS REQUIRED !!
paste this inside your form tags, where you want the captcha to appear.
Now, find the form tag that submits your form, and change this:
into this:
you're done. upload your site and go to look at your form.
someone test this please? feedback?
! please note that this post has been updated to include fixes from the community, in particular, normans clever fix detailed below !
downlad this:
http://www.interact-studio.co.uk/jcap.zip
jcap, a simple javascript captcha, extract the files to the root of your webserver.
so that you can get to them like this:
http://www.YOURSITE.co.uk/jcap.js
in this folder is a subfolder, full of the jpgs used. keep this in a folder, put it in the root, so you can access it like this:
http://www.YOURSITE.co.uk/cimg/
in actinic paste this into your <head>, where you reference your scripts:
HTML Code:
<script type="text/javascript" src="http://www.YOURSITE.co.uk/md5.js"></script> <script type="text/javascript" src="http://www.YOURSITE.co.uk/jcap.js"></script>
paste this inside your form tags, where you want the captcha to appear.
HTML Code:
Enter the code as it is shown:<br /> <script language="javascript" type="text/javascript">cimg()</script><br /> <input type=text name="uword" id="uword" value="" size=20><br /> <noscript>[This resource requires a Javascript enabled browser.]</noscript>
HTML Code:
<form method="post" action="<Actinic:Variable Name="SendMailPageURL"/>">
HTML Code:
<form method="post" action="<Actinic:Variable Name="SendMailPageURL"/>xpy" name="xfrm" onsubmit="return jcap();">
someone test this please? feedback?
Comment