MFRWC Example: Difference between revisions
From SWCP Support Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
<form method="POST" id="mfrwc" name="mfrwc" action="/cgi-bin/mfrwc"> | <form method="POST" id="mfrwc" name="mfrwc" action="/cgi-bin/mfrwc"> | ||
<input type="hidden" | <input type="hidden" name="form-owner" VALUE="jamii@swcp.com"> | ||
<input type="hidden" | <input type="hidden" name="email-field" VALUE="email"> | ||
<input type="hidden" | <input type="hidden" name="subject-field" VALUE="subject"> | ||
<input type="hidden" | <input type="hidden" name="subject" | ||
value="Consultant Directory Form Submission"> | value="Consultant Directory Form Submission"> | ||
<input type="hidden" | <input type="hidden" name="return-link-name" VALUE="Jamii's Home Page"> | ||
<input type="hidden" | <input type="hidden" name="return-link-url" | ||
value="http://www.swcp.com/~jamii"> | value="http://www.swcp.com/~jamii"> | ||
Name: < | Name: <input type=text name="name" size=36><BR> | ||
Email: < | Email: <input type=text name="email" size=36> | ||
<P> | <P> | ||
Enter your comments in the box below:<br> | Enter your comments in the box below:<br> | ||
< | <textarea name="comments" rows=8 cols=40></textarea> | ||
<P> | <P> | ||
<style = "text/style"> | <style = "text/style"> | ||
#imgCaptcha { margin: 0 30px; border: black solid 1px; } | #imgCaptcha { margin: 0 30px; border: black solid 1px; } | ||
</style> | </style> | ||
< | <img id="imgCaptcha" src='/cgi-bin/gencap.pl?789'><br><br> | ||
Please type in the letters above | Please type in the letters above | ||
< | <input id="txtCaptcha" type="text" name="verify" size=8 | ||
onKeyPress="onlyOnReturn(event, document.mfrwc)";><br> | 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> | ||
</PRE> | </PRE> | ||
Revision as of 15:37, 28 May 2009
<!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>