Tip: you can modify some code before running
<html><head><title>Form submission script with detection function</title><meta content="text/html; charset=gb2312" http-equiv="Content-Type"><style type="text/css">BODY {COLOR: # ffffff; FONT: 9pt ""; TEXT-DECORATION: none} A {COLOR: # ffffff; FONT: 9pt ""; TEXT-DECORATION: none} TD {COLOR: # ffffff; FONT: 9pt ""; TEXT-DECORATION: none }. yk9 {FONT: 9pt ""; TEXT-DECORATION: none}</style><script language="JavaScript"><!-- Hide this script from old browsers --//以下内容不要改动,主要用于mail表单项目检测是否填写完整。function everything(form) {isName(form)isEmail(form)isHomepage(form)isComments(form)allblanks(form)}function allblanks(form) {if((isName(form) && isEmail(form)) && (isHomepage(form) && isComments(form))) {form.submit()}if((isName(form) == false || isEmail(form) == false) || (isHomepage(form) == false || isComments(form) == false)) {compose(form)}}function compose(form) {var text = "You forgot to fill in correctly:"if(isName(form) == false) {text += "nyour name"}if(isEmail(form) == false) {text += "nyour e-mail address"}if(isHomepage(form) == false) {text += "nyour homepage's url"}if (isComments(form) == false) {text += "nyour comments"}alert(text)}function isName(form) {if (form.visitname.value == "") {return false}else {return true}}function isEmail(form) {if ((form.email.value == "" || form.email.value.indexOf('@', 0) == -1) || form.email.value.indexOf('.') == -1) {return false}else {return true}}function isHomepage(form) {if ((form.homepage.value == "" || form.homepage.value.indexOf("http://") == -1) || form.homepage.value.indexOf(".") == -1) {return false}else {return true}}function isComments(form) {if(form.content.value == "") {return false}else{return true}}// -- End Hiding Here --></script><script language="JavaScript"><!--function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);// --></script></head><body text="#FFFFFF" ><div id="Layer1" > <table border="0" width="100%" height="43"> <tr> <td width="8%" height="210"></td> <td width="92%" height="210"> <p><font size="3" color="#0000FF">When you press the send button to send this form, the script program will check whether you fill it in correctly. This is a popular form submission method.</font></p> <p></p> </td> </tr> </table></div><p align="center"><font size="5" color="#0000FF"><strong>Form submission with content detection function</strong></font></p><p align="center"></p><form action="mailto:yourmail@mailhost.com?subject=表单递交" encType="text/plain" method="post" name="kurt"> <div align="left"><p><font size="3" color="#0000FF"><strong>Name:</strong></font><br> <input name="visitname" size="30"> </p> </div><dl> <p><font size="3" color="#0000FF">Email:</font><br> <input name="email" size="30" type="password"> </p> </dl> <dl> <div align="left"><p><font size="3" color="#0000FF">Home Address: (it must start with http)</font><br> <input name="homepage" size="30" value="http://"> </p> </div> <dt><br> <font size="3" color="#0000FF">Your suggestion/what you want to say:</font></dt> <dt><br> <textarea cols="30" name="content" rows="5">
Tip: you can modify some code before running