站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
V5Shop FORM表单样式操作
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
==FORM表单相关字段== *'''实现功能:''' 搜索表单、登录表单、商品评论表单、文章评论表单、留言表单、找回密码、[[邮件]]订阅 [[Image:V5Shop_FromStyle.gif|center]] *'''相关字段以及生成的代码:''' '''搜索表单:''' <pre> <form id="searchform" action="[$syspath]list.aspx"><select onchange='document.getElementById('> <option value="[$syspath]list.aspx" selected="selected">查询商品</option> <option value="[$syspath]articlelist.aspx">查询文章</option> <option value="[$syspath]shippingadvice.aspx">发货通知</option> </select& gt;<input class="input" name="wd" type="text" /><input style="vertical-align: bottom" type="submit" value="开始搜索" /> </form> </pre> '''登录表单:''' <form action="" method="post" name="loginform"><input type="hidden" name="act" value="login" /> <input class="input" id="username" name="username" value="{base.CookieLoginIDTemp}" type="text" /> <input class="input" id="password" type="password" name="password" /> <input class="input" id="checkcode" maxlength="4" size="8" name="verify" type="text" /> <img id="verifyimg" style="cursor: pointer" alt="看不清,点击换一张" align="absMiddle" onclick='ChangeVerifyImg()' /> <script language='javascript'> function ChangeVerifyImg() {document.getElementById('verifyimg').src = '[$syspath]member/verifyimg.aspx?d=' + Date();} ChangeVerifyImg(); </script> <input type="submit" src="登陆" onclick='return CheckLogin()' value="提交查询内容" /> </form> </pre> '''商品评论表单:''' <form action="[$syspath]product.aspx?id={cid}" method="post" name="pswbackform"> <input type="hidden" name="act" value="review" />评论标题: <input class="input" id="title" maxlength="30" size="100" name="title" type="text" />评 论 人: <input class="input" id="username" maxlength="20" size="100" name="username" type="text" />评论星级: <input type="radio" name="star" value="1" /><img alt="很差" src="images/products/star1.gif" /> <input type="radio" name="star" value="2" /><img alt="不太好" src="images/products/star2.gif" /> <input type="radio" name="star" value="3" /><img alt="一般" src="images/products/star3.gif" /> <input type="radio" name="star" value="4" /><img alt="还不错" src="images/products/star4.gif" /> <input type="radio" checked="checked" name="star" value="5" /><img alt="非常好" src="images/products/star5.gif" />评论内容: <textarea id="content" rows="5" cols="60" name="content"></textarea> <input type="submit" onClick='return CheckReviewForm()' name="Submit2" value="我要发表" /> </form> </pre> '''文章评论表单:''' <form action="[$syspath]article.aspx?id={cid}" method="post" name="pswbackform"> <input type="hidden" name="act" value="review" />评论标题: <input class="input" id="title" maxlength="30" size="100" name="title" type="text" />评 论人: <input class="input" id="username" maxlength="20" size="100" name="username" type="text" />评论星级: <input type="radio" name="star" value="1" /><img alt="很差" src="images/products/star1.gif" /> <input type="radio" name="star" value="2" /><img alt="不太好" src="images/products/star2.gif" /> <input type="radio" name="star" value="3" /><img alt="一般" src="images/products/star3.gif" /> <input type="radio" name="star" value="4" /><img alt="还不错" src="images/products/star4.gif" /> <input type="radio" checked="checked" name="star" value="5" /><img alt="非常好" src="images/products/star5.gif" />评论内容: <textarea id="content" rows="5" cols="60" name="content"></textarea> <input type="submit" onClick='return CheckReviewForm()' name="Submit2" value="我要发表" /> </form> </pre> '''留言表单:''' <form action="[$syspath]message.aspx" method="post"> <input type="hidden" name="act" value="gbook" />主题: <input class="input" id="title" maxlength="30" name="title" type="text" />[[E-mail]]: <input class="input" id="email" maxlength="30" name="email" type="text" />电话: <input class="input" id="telephone" maxlength="30" name="telephone" type="text" />留言: <textarea id="content" rows="5" cols="40" name="content"></textarea> <input type="submit" onclick='return CheckGbookForm()' name="Submit2" value="我要发表" /> </form> '''找回密码:''' <form method="post" onsubmit='this.action = ' name="pswbackform"> <input type="hidden" name="act" value="psw" />注册帐号: <input class="input" name="username" type="text" />保护问题: <select name="question"> <option value="你最喜欢的食物是什么?" selected="selected">你最喜欢的食物是什么?</option> </select>保护答案: & lt;input class="input" size="50" name="answer" type="text" /> <input type="image" src="<nowiki>http://192.168.1.99/Hrc_Easy_V5Shop8_Template/weblogin/editor/editor/images/member/pswkey.gif</nowiki>" /> </form> </pre> '''邮件订阅:''' <form id="subform" method="post" onsubmit='this.action = '> <input id="act" type="hidden" name="act" />邮箱地址: <input class="input" id="email" name="email" type="text" />姓名: <input class="input" id="username" maxlength="10" size="10" name="username" type="text" /> <input type="image" src="<nowiki>http://192.168.1.99/Hrc_Easy_V5Shop8_Template/weblogin/editor/editor/images/index/pollb1.gif</nowiki>" onclick='return InsertSubmit()' /> <input type="image" src="<nowiki>http://192.168.1.99/Hrc_Easy_V5Shop8_Template/weblogin/editor/editor/images/index/mailkey.gif</nowiki>" onclick='return DeleteSubmit()' /> </form> <script language='javascript' type='text/javascript' src='js/subscription.js'> </script>
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)