模板标签里面
同一页面 二个表单
<ul>
<form action="/index.php?s=form&c=ts" class="form-horizontal" method="post" name="myform" id="myform">
<li>
<div align="center" style="height:30px;padding-top:10px;text-align:center">
<input class="coolbg" type="button" onclick="dr_cmf_module_submit('/index.php?s=form&c=ts', 'myform')" style="background:#ec561a; color:#fff;" value="提 交" />
<input class="coolbg" name="reset" style="background:#666666; color:#fff;" type="reset" value="关 闭" />
</div>
</li>
</form>
<form action="/index.php?s=form&c=gzbx" class="form-horizontal" method="post" name="myform" id="myform">
<input class="intxt" name="data[gzms]" id="dr_gzms" style="width:250px;height:35px;background-image: url(../images/input-bgs.png); border-bottom:0px;margin-bottom: 0px;" type="text" value="" />
<div align="center" style="height:30px;padding-top:10px; text-align:center;">
<input class="coolbg" type="button" onclick="dr_cmf_module_submit('/index.php?s=form&c=gzbx', 'myform')" style="background:#ec561a; color:#fff;" value="提 交" />
<input class="coolbg" name="reset" style="background:#666666;color:#fff;" type="reset" value="关 闭" />
</div>
</li>
</ul>第一个 正常 提交 第二个 提交提示成功 但后台 没有数据 不知道 哪里的 问题 多个表单 不能共存吗
name="myform" id="myform1"> dr_cmf_module_submit('/index.php?s=form&c=ts', 'myform1')"第二个form改成name="myform2" id="myform2"> dr_cmf_module_submit('/index.php?s=form&c=gzbx', 'myform2')