欢迎来到路由器窝!

ASPcms 提交表单整体案例

浏览次数:

作者: 路由器窝

信息来源:

更新日期: 2017-12-09 21:46

文章简介

form method=POST name=myform onSubmit=return metmessagesubmit(姓名不能为空,留言信息不能为空); action=save.asp?action=add target=_self table c

  • 正文开始
  • 相关文章
<form method='POST' name='myform' onSubmit='return metmessagesubmit("姓名不能为空","留言信息不能为空");' action="save.asp?action=add" target='_self'>
        <table class='message_table'>
          <tr>
            <td class='text'>标题</td>
            <td class=''><input name='FaqTitle' type='text' class='input-text' />
              <span class='info'>*</span></td>
          </tr>
          <tr>
            <td class='text'>姓名</td>
            <td class=''><input name='Contact' type='text' class='input-text' />
              <span class='info'>*</span></td>
          </tr>
          <tr>
            <td class='text'>电话</td>
            <td class=''><input name='ContactWay' type='text' class='input-text' /></td>
          </tr>
          <tr>
            <td class='text'>留言内容</td>
            <td class=''><textarea name='Content' cols='50' rows='6' class='textarea-text'></textarea>
              <span class='info'>*</span></td>
          </tr>
		 <tr>
            <td class='text'>验证码</td>
            <td class=''><input name='code' type='text' class='input-text' /><img src="{aspcms:sitepath}/inc/checkcode.asp?catch=n"/></td>
          </tr>
          <tr>
            <td class='text'></td>
            <td class='submint'>
              <input type='submit' name='Submit' value='提交留言' class='submit button orange'></td>
          </tr>
        </table>
      </form>                                  
		  <!--mixUl-->
	   		
<style>

.button{ display: inline-block; zoom: 1; *display: inline; vertical-align: baseline; margin: 0 2px; outline: none; cursor: pointer; text-align: center; text-decoration: none; font: 14px/100% Arial, Helvetica, sans-serif; padding: .5em 2em .55em; text-shadow: 0 1px 1px rgba(0,0,0,.3); -webkit-border-radius: .5em; -moz-border-radius: .5em; border-radius: .5em; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.2);}
.button:hover { text-decoration: none; color:#fff; }
.button:active { position: relative; top: 1px;}
.orange{ color: #fef4e9; border: solid 1px #da7c0c; background: #f78d1d; background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20)); background: -moz-linear-gradient(top,  #faa51a,  #f47a20); filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20'); }
.orange:hover { background: #f47c20; background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015)); background: -moz-linear-gradient(top,  #f88e11,  #f06015); filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015'); }
.orange:active { color: #fcd3a5; background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a)); background: -moz-linear-gradient(top,  #f47a20,  #faa51a); filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');}
input.input-text,input.input-file,input.code,textarea { padding: 4px; font-size: 15px; outline: none; text-shadow: 0px 1px 0px #fff; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 1px solid #ccc; -webkit-transition: .3s ease-in-out; -moz-transition: .3s ease-in-out; -o-transition: .3s ease-in-out; background:#fff url(../images/dt-10.gif) repeat-x left top; }
input.input-text:focus,input.input-file:focus,input.code:focus,textarea:focus {-webkit-box-shadow: 0px 0px 6px #007eff; -moz-box-shadow: 0px 0px 5px #007eff; box-shadow: 0px 0px 5px #007eff;}
/*表单*/
td.text{ width:20%; padding:6px 5px 6px 0px; text-align:right; font-size:14px; font-weight:bold;}
td.input{ padding:6px 8px;}
td.input input{ margin-right:8px;}
td.input .info{ padding-left:15px; color:#f00;}
td.input img{ position:relative; bottom:1px;}
td.submint{ padding:10px;}
</style>
#p#分页标题#e#

转载请注明:ASPcms» ASPcms 提交表单整体案例

标签:
  • ASPcms 提交表单整体案例
    232阅读
    form method=POST name=myform onSubmit=return metmessagesubmit(姓名不能为空,留言信息不能为空); action=save.asp?action=add target=_self table class=message_table tr td class=te...
  • aspcms在线留言样式可直接使用
    257阅读
    html文件 div class=active id=messagelist form method=POST name=myform onSubmit=return metmessagesubmit(姓名不能为空,留言信息不能为空); action=/gbook/save.asp?action=add target=...
  • 在线LOGO生成工具
    383阅读
    https://www.logaster.com/
  • aspcms后台密码破解源码
    123阅读
    保存成asp文件直接上传到根目录即可 !--#include file=inc/AspCms_SettingClass.asp --%dim action : action=getForm(action,get)if action=pass then editPassSub editPassdim GroupID,Pa...
  • Aspcms后台无法上传图片
    225阅读
    很多用虚拟主机的用户都会有碰到这个问题。 这个问题的正确解决办法是: 找到/admin/editor/upload.asp,行313(并不是所有版本都是313的,搜索到以下内容) 将:fs.movefile Server.MapPath(oldfile),Server.MapPath(newfile) 改:fs.cop...
  • ASPCMS全能分页已测试
    125阅读
    div class=page[list:pagenumber len=5]/div/*分页*/.page{PADDING-BOTTOM: 25px; MARGIN: 10px auto 0px; WIDTH: 98%; PADDING-TOP: 10px; TEXT-ALIGN: center}.page a,.pag...
  • 一级栏目下调用二级分类
    182阅读
    {aspcms:navlist type=5} lia href=[navlist:link] title=[navlist:name][navlist:name]/a/li {aspcms:1navlist type=[navlist:sortid]}pa href=[1navlist:link][1navlist:...
  • 循环嵌套判断是否有子栏目并判断样式
    144阅读
    ul class=nav navbar-nav {aspcms:navlist} {if:[navlist:subcount]0}!--判断是否有下级目录-- li class=dropdowna href=http://shenymce.blog.51cto.com/337979/[navlist:link] [na...
  • aspcms添加自定义字段
    231阅读
    登录后台--内容维护--内容参数管理。添加字段即可
  • aspcms产品展示,产品点击显示一个图片,点击显示一个图片
    251阅读
    !--Photo album began --script language=JavaScript src={aspcms:sitepath}/Js/jquery.js type=text/javascript/scriptscript language=JavaScript src={aspcms:sitepath}...
上一页:AspCms程序PC端生成静态,手机端动态运行
下一页:phpcms筛选分类
最近更新作品
phpcms筛选分类
更新时间:2018-11-02

264人已经看过了!

ASPcms 提交表单整体案例
更新时间:2017-12-09

232人已经看过了!

AspCms程序PC端生成静态,手机端动态运行
更新时间:2017-09-22

141人已经看过了!

aspcms产品展示,产品点击显示一个图片,点击显示一个图片
更新时间:2017-09-22

251人已经看过了!

在线LOGO生成工具
更新时间:2017-04-21

383人已经看过了!

aspcms下载列表页直接调用下载文件
更新时间:2017-04-20

202人已经看过了!

aspcms添加自定义字段
更新时间:2017-04-20

231人已经看过了!

循环嵌套判断是否有子栏目并判断样式
更新时间:2017-03-26

144人已经看过了!

ASPCMS全能分页已测试
更新时间:2017-03-25

125人已经看过了!

aspcms在线留言样式可直接使用
更新时间:2018-05-04

257人已经看过了!