MFRWC Example
From SWCP Support Wiki
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.or g/TR/xhtml1/DTD/xhtml1 transitional.dtd">
<html>
<head>
<title >JDIR</title>
<script language="JavaScript" type="text/javascript"
src="http://captcha.swcp.com/ajax_captcha.js">
</script>
</head>
<body>
<H1>The JDirectory</H1>
<form method="POST" id="mfrwc" name="mfrwc" action="/cgi-bin/mfrwc">
<input type="hidden" NAME="form-owner" VALUE="jamii@swcp.com">
<input type="hidden" NAME="email-field" VALUE="email">
<input type="hidden" NAME="subject-field" VALUE="subject">
<input type="hidden" NAME="subject"
value="Consultant Directory Form Submission">
<input type="hidden" NAME="return-link-name" VALUE="Jamii's Home Page">
<input type="hidden" NAME="return-link-url"
value="http://www.swcp.com/~jamii">
Name: <INPUT TYPE=TEXT NAME="name" size=36><BR>
Email: <INPUT TYPE=TEXT NAME="email" size=36>
<P>
Enter your comments in the box below:<br>
<TEXTAREA NAME="comments" ROWS=8 COLS=40></TEXTAREA>
<P>
<style = "text/style">
#imgCaptcha { margin: 0 30px; border: black solid 1px; }
</style>
<IMG ID="imgCaptcha" src='/cgi-bin/gencap.pl?789'><br><br>
Please type in the letters above
<INPUT id="txtCaptcha" TYPE="text" name="verify" size=8
onKeyPress="onlyOnReturn(event, document.mfrwc)";><br>
<INPUT id="regCaptcha" type="button" value="Give me different text"
NAME="regCaptcha" onclick="regenCaptcha(document.mfrwc)";>
<INPUT id="btnCaptcha" type="button" value="Send Comments"
NAME="btnCaptcha" onclick="getParam(document.mfrwc)";>
<INPUT TYPE="reset" VALUE="Clear Form">
<DIV id="response"> </DIV>
</FORM>
</BODY>
</HTML>