联系官方销售客服
1835022288
028-61286886
创建了一个模块表单,然后在一个页面上直接提交,点击提交以后,网页就跳转了一下,但是没有任何提醒,然后返回到后台也没有看到提交的记录,点击审核查看也没有需要审核的,也就是说 表单数据没有提交上来,有人知道吗
表单代码:
{php extract(dr_get_mform_post_value(MOD_DIR, 'ssbm',$id))} <form action="" class="layui-form" method="post" name="myform" id="myform"> {$form} <div class="layui-form-item"> <label class="layui-form-label">名称:</label> <div class="layui-input-block"> <input type="text" name="data[title]" id="dr_title" required lay-verify="required" placeholder="{$title}" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-form-item"> <label class="layui-form-label">时间:</label> <div class="layui-input-block"> <input type="text" id="dr_time" required lay-verify="required" placeholder="{$sssj}" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-form-item"> <label class="layui-form-label">地点:</label> <div class="layui-input-block"> <input type="text" id="dr_didian" required lay-verify="required" placeholder="{$ssdd}" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-form-item"> <label class="layui-form-label">姓名:</label> <div class="layui-input-block"> <input type="text" name="data[xingming]" id="dr_xingming" required lay-verify="required" placeholder="请输入姓名" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-form-item"> <label class="layui-form-label">性别</label> <div class="layui-input-block"> <input type="radio" name="data[xingbie]" id="dr_xingbie" value="1" title="男" checked> <input type="radio" name="data[xingbie]" id="dr_xingbie" value="2" title="女"> </div> </div> <div class="layui-form-item"> <label class="layui-form-label">年龄:</label> <div class="layui-input-block"> <input type="text" name="data[nianling]" id="dr_nianling" required lay-verify="required" placeholder="请输入年龄" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-form-item"> <label class="layui-form-label">联系电话:</label> <div class="layui-input-block"> <input type="text" name="data[lxdh]" id="dr_lxdh" required lay-verify="required" placeholder="请输入联系电话" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-form-item"> <label class="layui-form-label">职级岗位:</label> <div class="layui-input-block"> <input type="text" name="data[zhijigangwei]" id="dr_zhijigangwei" required lay-verify="required" placeholder="请输入你的职级岗位题" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-form-item"> <label class="layui-form-label">目前薪资</label> <div class="layui-input-block"> <input type="text" name="data[muqianxinzi]" id="dr_muqianxinzi" required lay-verify="required" placeholder="请输入您目前薪资" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-form-item layui-form-text"> <label class="layui-form-label">职业规划</label> <div class="layui-input-block"> <textarea name="data[zcgh]" id="dr_zcgh" placeholder="请输入内容" class="layui-textarea"></textarea> </div> </div> <div class="layui-form-item layui-form-text"> <label class="layui-form-label">补充说明</label> <div class="layui-input-block"> <textarea name="data[bcsm]" id="dr_bcsm" placeholder="请输入内容" class="layui-textarea"></textarea> </div> </div> <script> $("#dr_title").val("报名:《{$title}》") $("#dr_time").val("{$sssj}") $("#dr_didian").val("{$ssdd}") </script> <div class="layui-form-item"> <div class="layui-input-block"> <button onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '')" class="layui-btn layui-btn-danger layui-btn-fluid" lay-submit lay-filter="formDemo">立即提交</button> </div> </form>
然后show页面直接这样引用的:
{template "form_ssbm1.html"}