http://my.tiancaikj.cn/ 手機站 表單提交完,后臺沒有數(shù)據(jù),麻煩大家?guī)臀铱匆幌率悄睦镥e誤了
<form action="" class="form-horizontal" method="post" name="myform" id="myform">
<input name="is_form" type="hidden" value="1">
<input name="is_admin" type="hidden" value="0">
<input name="is_tips" type="hidden" value="">
<input type="hidden" name="{csrf_token()}" value="{csrf_hash()}" />
<input name="csrf_test_name" type="hidden" value="1c1e2566fb4750d7c77f822187b88ee2">
<p>
<i>患者姓名</i>
<input name="data[title]" type="text" class="zzghText" placeholder="請輸入患者姓名" />
</p>
<p>
<i>聯(lián)系電話</i>
<input name="data[dianhua]" type="text" class="zzghText" placeholder="請輸入你的手機號" />
</p>
<p>
<i>到診時間</i>
<input name="data[jiuzhenriqi]" type="date" class="zzghText field_date_jiuzhenriqi">
<script>
$(".field_date_jiuzhenriqi").datetimepicker({
isRTL: false,
format: "yyyy-mm-dd",
showMeridian: true,
autoclose: true,
pickerPosition: "bottom-right",
todayBtn: true
});
});
</script>
</p>
<p>
<i>驗 證 碼</i>
<input type="text" class="form-control" name="code" style="width:30%; float:left;">
<img align="absmiddle" style="cursor:pointer;float: left;width: 30%;" onclick="this.src='/index.php?s=api&c=api&m=captcha&width=120&height=35&'+Math.random();" src="/index.php?s=api&c=api&m=captcha&width=120&height=35" />
</p>
<em>*填寫信息已加密,保證您的隱私安全,我們會盡快與您取得聯(lián)系,謝謝您的信任。*</em>
<span>
<button type="submit" onclick="dr_ajax_submit('/index.php?s=form&c=zizhuguahao&m=post', 'myform', '2000', '/index.php?s=form&c=zizhuguahao&m=post')" class="btn green"> 提交內(nèi)容</button>
<i onclick="swtClick('gh_zxkf')">在線客服</i>
</span>
</form>
<button type="submit"改成<button type="button"
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)迅睿框架創(chuàng)始人
改完了,點擊沒反應(yīng)了
你用了系統(tǒng)js函數(shù),你系統(tǒng)的js加了嗎
參考文檔:《前端模板JS類》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!