[求助]制作一个表单,求源代码!
<P><form method="post" name="xuli" id="xuli"> <BR><tr> <BR><td width="70" height="26"><img src="/xlcx/images/200411/xlcx_zsbh.gif"></td> <BR><td height="26"><input name="bianhao" type="text" class="input" id="bianhao" size="36" maxlength="20"> <BR> <a href="#zs"><u><font color="#FF0000">编号规则</font></u></a></td> <BR></tr> <BR><tr> <BR><td height="26"><img src="/xlcx/images/200411/xlcx_xm.gif" width="25" height="12"></td> <BR><td height="26"><input name="XM" maxlength="24" type="text" size="26" class="input"></td> <BR></tr> <BR><tr> <BR><td height="26"><img src="/xlcx/images/200411/xlcx_cxm.gif" width="38" height="12"></td> <BR><td height="26"><input name="QueryID" maxlength="15" type="text" size="26" class="input"> </P><P><input name="freeQuery" type="checkbox" value="1" style="border:#FFFFFF solid 0px;height:16px" onClick="xlcx();"><font color="#FF0000">2007</font> </P>
<P><a href="javascript:cxm();"><u>获取查询码</u></a></td> <BR></tr> <BR><tr> <BR><td height="26"><img src="/xlcx/images/200411/xlcx_yzm.gif" width="38" height="12"></td> <BR><td height="26"><input name="CHKNUM" type="text" id="CHKNUM" size="4" maxlength="4" class="input"> <BR> <BR><SCRIPT> <BR>document.write("<img border=0 align=center src=/ValidatorIMG.JPG?ID=" + Math.random()*10000 + ">") <BR></SCRIPT> <BR> 输入图片中的四个数字(<span class="STYLE1">半角输入状态</span>)</td> <BR></tr> <BR><tr> <BR><td height="30"> </td> <BR><td height="30" align="center" valign="bottom"><input name="chaxun" type="submit" id="chaxun" value="查 询"></td> <BR></tr> </P>
<P></form> </P>
<P><BR>在这表单上修改,在第一个文本域中,当填写11020010710032,提交表单,连接到\xueli\1103651402008\result.html;当填写00000000000000,提交表单,连接到\xueli\1108073894215\result.html;当填写116471200306000552,提交表单,连接到\xueli\1184672192406\result.html.其他文本域不影响表单提交的正常连接,就三组数字,根据输入其中一组,提交后连接不同,只有这三种情况!该如何修改?越详细越好!<BR></P> <BR>select case request.form("文本域的名字")<BR>case "11020010710032"<BR>response.redirect "\xueli\1103651402008\result.html"<BR>case "00000000000000"<BR>response.redirect "\xueli\1108073894215\result.html"<BR>case "116471200306000552"<BR>response.redirect "\xueli\1184672192406\result.html"<BR> 这样设计明显就不合理<br><br>如果我三个都不填,我填个别的怎么办??<br><br>应该用选择,而且用JS就可以做到了
[align=right][color=#000066][此贴子已经被作者于2007-7-19 15:36:53编辑过][/color][/align]
<P>我只是说个意思</P>
页:
[1]
