迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
1835022288
028-61286886
开启伪静态后,自定义调用表单,提交成功后会跳转到这样的页面,
在官方看到其他方法
也试过还是不行,求大家帮忙看看
<form action="" class="form-horizontal" method="post" name="jzbs" id="jzbs"> <div class="account-type"> <div class="account-text" id="account_type">请选择纳税类型</div> <span class="down"></span> <span class="line"></span> <div class="counter-type-select" style="display: none;"> <div class="item">小规模纳税人</div> <div class="item">一般纳税人</div> </div> </div> <div class="account-type"> <div class="account-text" id="account_num">请选择月开票量</div> <span class="down"></span> <span class="line"></span> <div class="counter-type-select" style="display: none;"> <div class="item">0申报</div> <div class="item">5-10张</div> <div class="item">10-20张</div> <div class="item">20张以上</div> </div> </div> <div class="tel-wraper"> <input type="text" placeholder="纳税类型" style="display: none;" autocomplete="off" name="data[title]" id="title"> <input type="text" placeholder="月开票量" style="display: none;" autocomplete="off" name="data[ykpl]" id="ykpl"> <input type="text" placeholder="请输入您的联系方式" autocomplete="off" name="data[lxdh]" id="lxdh"> </div> <button class="jszx-btn" type="button" onclick="dr_ajax_submit('{SITE_URL}index.php?s=form&c=jzbs&m=post', 'jzbs', '2000', '{dr_now_url()}')">极速咨询</button> </form>
{php extract(dr_get_form_post_value('jzbs'))} <p>调试信息:{$debug}</p> <form action="" class="form-horizontal" method="post" name="jzbs" id="jzbs"> {$form} <div class="account-type"> <div class="account-text" id="account_type">请选择纳税类型</div> <span class="down"></span> <span class="line"></span> <div class="counter-type-select" style="display: none;"> <div class="item">小规模纳税人</div> <div class="item">一般纳税人</div> </div> </div> <div class="account-type"> <div class="account-text" id="account_num">请选择月开票量</div> <span class="down"></span> <span class="line"></span> <div class="counter-type-select" style="display: none;"> <div class="item">0申报</div> <div class="item">5-10张</div> <div class="item">10-20张</div> <div class="item">20张以上</div> </div> </div> <div class="tel-wraper"> <input type="text" placeholder="纳税类型" style="display: none;" autocomplete="off" name="data[title]" id="title"> <input type="text" placeholder="月开票量" style="display: none;" autocomplete="off" name="data[ykpl]" id="ykpl"> <input type="text" placeholder="请输入您的联系方式" autocomplete="off" name="data[lxdh]" id="lxdh"> </div> <button class="jszx-btn" type="button" onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '{$rt_url}')">极速咨询</button> </form>
迅睿框架技术-刘怀远
这里亏写错了dr_now_url不对,参考文档:《外部页面调用网站表单提交项目》吧头部和提交按钮改一下
这个代码完全没有按手册的语法来写,所以会有问题,官方纠正的正确