Fermilab Computing Division
Fermilab Homepage Computing Division Homepage Computing Division Banner

Central Web Services: Antispam Webform

The Central Web Service utilizes a Captcha ( See http://en.wikipedia.org/wiki/Captcha for more information.) to prevent misuse of its web submission form.  This method requires web users to look at a graphical representation of letters and then type the letters.  The CAPTCHA we use at Fermi as supplied by reCAPTCHA.net also provides an audio-based version for the visually impaired.

If you are using the central web services form-to-email script, you can add the CAPTCHA to your form using these instructions. There is only a single line of HTML code you need to add to your web form to show the CAPTCHA picture inside your form (instead of having it pop up as a separate box after your users have submitted your form).

A sample web form using a CAPTCHA:

reCAPTCHA Example

When composing a webform, you only need to insert the following line just above the SUBMIT button of the form.

<p><script type="text/javascript" src="http://tools.fnal.gov/antispam/antispam.js"></script></p>

You may also want to include some instructions telling your users how to use the CAPTCHA form. This is optional, but recommended.

<p><b>Type the two words shown below into the box below: <i>(required)</i></b></p>
<p><script type="text/javascript" src="http://tools.fnal.gov/antispam/antispam.js"></script></p>

A complete sample would look like this.  The CAPTCHA code is in bold:

<html>
<body>
<form method="post" action="http://www.fnal.gov/cgi-bin/formmail/fnalformmail.pl">
<input value="see cc for email address" name="email" type="hidden" />
<input value="myemailaddress@fnal.gov" name="bcc" type="hidden" />

Data1: <input type="text" name="Data1"><br>
Data2: <input type="text" name="Data2"><br>
Data3: <input type="text" name="Data3"><br>

<script type="text/javascript" src="http://tools.fnal.gov/antispam/antispam.js" ></script>

<input type="submit" value="Submit" >
</form>
</body >
</html >

 

Installing via the XMS Editor for the computing.fnal.gov Website

Click Here for instructions specific to using the tool with the computing.fnal.gov website.

 

Supported Domains

The following domains are supported and allowed to use Fermilab's email service:

  • fnal.gov
  • auger.org
  • hep.net
  • hep.physics.utoronto.ca
  • interactions.org
  • opensciencegrid.org
  • physics.utoronto.ca
  • scientificlinux.org
  • sdss.org
  • snowmass2001.org
  • uscms.org

Contact the Fermilab Help Desk to add additional domains.

 

Basic Usage

 These are the basic directions on how to use the reCAPTCHA interface.

  • Click on Reload Icon icon above to change words if they are too difficult to recognize.
  • Toggle between the Audio icon icon for audio and the Text Icon icon for text.
  • Click on the Help Icon icon above for more information

 

Advanced Usage

For more control of cosmetic details, language support, etc, include in javascript "var Skip_Fermi_Tools_Default =1;" then see http://recaptcha.net/apidocs/captcha/client.html

 This page rendered in 0.22 seconds