pbootcms如何新增多个表单,默认<form action="{pboot:msgaction}" method="post">
联系人:<input type="text" name="contacts" >
手机:<input type="text" name="mobile" >
内容:<input type="text" name="content" >
验证码:<input type="text" name="checkcode" ><img title="点击刷新" src="{pboot:checkcode}" onclick="this.src='{pboot:checkcode}?'+Math.round(Math.random()*10);" />
<button type="submit">提交</button>
</form>
如果新增第二个表单的时候,需要修改一处代码,不然他会一直调用第一个默认的表单,改成
<form action="{pboot:form fcode=2}" method="post">,其中{pboot:form fcode=2} 这里填写的是你新增的表单的编码id