帝国cms留言板

帝国cms留言板,第1张

概述<SCRIPT language=JavaScript1.2>function check(theForm,textlengh) { if(theForm.name.value == \"\") {

<SCRIPT language=JavaScript1.2>
function check(theForm,textlengh) {

if(theForm.name.value == "") {
alert("对不起!您的姓名不能为空!");
return false;
}
if (theForm.call.value.length == ""){
alert("对不起!您的电话不能为空!");
return false;
}
if(theForm.email.value == "") {
alert("对不起!电子邮件不能为空!");
return false;
}
if (theForm.content.value.length == ""){
alert("对不起!咨询或建议不能为空!");
return false;
}
if(theForm.lytext.value.length > textlengh) {
alert("对不起!咨询或建议长度不能超过" + textlengh + "字符!");
return false;
}
}
</SCRIPT>

<table cellSpacing=0 cellpadding=0 wIDth="100%" align=center border=0>
<tbody>
<TR>
<TD>
<P align=center><Font face=宋体 color=#000000
size=3></Font>&nbsp;</P></TD></TR></tbody></table><BR>
<table cellSpacing=1 cellpadding=0 wIDth="80%" align=center
bgcolor=#cccccc border=0>
<form action="../../enews/index.PHP" method="post" name="form1" ID="form1">

<tbody>
<TR align=mIDdle bgcolor=#eeeeee>
<TD colSpan=2 height=24><Font color=#000000>在线留言</Font></TD></TR>

<TR>
<TD align=right wIDth="29%" bgcolor=#ffffff height=26><Font
color=#000000>您的姓名:</Font></TD>
<TD wIDth="71%" bgcolor=#ffffff height=24>&nbsp;<input maxLength=15
size=30 name=name> <Font color=#ff0000>*</Font> </TD></TR>
<TR>
<TD align=right bgcolor=#ffffff height=26><Font
color=#000000>您的电话:</Font></TD>
<TD bgcolor=#ffffff height=24>&nbsp;<input maxLength=15 size=30
name=call> <Font color=#ff0000>*</Font> </TD></TR>
<TR>
<TD align=right bgcolor=#ffffff height=26><Font
color=#000000>电子邮件:</Font></TD>
<TD bgcolor=#ffffff height=24>&nbsp;<input maxLength=50 size=30
name=email> <Font color=#ff0000>*</Font> </TD></TR>
<TR>
<TD align=right bgcolor=#ffffff height=24><Font
color=#000000>咨询或建议:</Font></TD>
<TD bgcolor=#ffffff height=24>&nbsp;<TEXTAREA name=lytext rows=5 cols=29></TEXTAREA>
<Font color=#ff0000>*</Font> </TD></TR>
<TR bgcolor=#ffffff>
<TD align=mIDdle colSpan=2 height=30><input onClick="return check(this.form,'200')" type=submit value="提 交" name=submit3>
<input type=reset value="重 置" name=submit2> <input name="enews" type="hIDden" ID="enews" value="AddGbook" />
</TD></TR></FORM></tbody></table>

总结

以上是内存溢出为你收集整理的帝国cms留言板全部内容,希望文章能够帮你解决帝国cms留言板所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/1004943.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-22
下一篇 2022-05-22

发表评论

登录后才能评论

评论列表(0条)

保存