迅睿開源框架是一款PHP8高性能·簡(jiǎn)單易用的PHP開源開發(fā)框架, 基于MIT開源許可協(xié)議發(fā)布,不限制商業(yè)使用,以多端互聯(lián)為設(shè)計(jì)理念, 支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
業(yè)務(wù)經(jīng)理
微信掃描以上二維碼
028-61286886
在線咨詢
全局表單 填完信息,提交 報(bào)錯(cuò)
禁止提交,請(qǐng)檢查提交地址是否有誤
求助不知是那里出了問題
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅睿框架聯(lián)合創(chuàng)始人 {php extract(dr_get_form_post_value('liuyan'))} <form class="row inner" action="{$post_url}&is_show_msg=1" id="contact" method="post" name="myform" > {$form} <div class="form-group col-sm-6 col-12"> <label><span>Your name</span></label> <input type="text" name="data[mingzi]" id="name"> </div> <div class="form-group col-sm-6 col-12"> <label><span>Your surname</span></label> <input type="text" name="data[author]" id="surname"> </div> <div class="form-group col-sm-6 col-12"> <label><span>Your e-mail</span></label> <input type="text" name="data[youjian]" id="email"> </div> <div class="form-group col-sm-6 col-12"> <label><span>Subject</span></label> <input type="text" name="data[title]" id="subject"> </div> <div class="form-group col-12"> <label><span>Your message</span></label> <textarea name="data[liuyanxinxi]" id="message"></textarea> </div> <div class="form-group col-12"> <button id="submit" type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'contact', '2000', '{$rt_url}')" >SUBMIT</button> </div> </form>
<button id="submit" type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'contact', '2000', '{$rt_url}')" >SUBMIT</button>
這個(gè)錯(cuò)了
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 麻煩看一下是那里錯(cuò)了嘛,我測(cè)試一點(diǎn)提交就提示我
三樓已經(jīng)說明了錯(cuò)誤的地方,你改改代碼就行,你那句寫錯(cuò)了的
參考文檔:《外部頁面調(diào)用網(wǎng)站表單提交項(xiàng)目》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅睿框架聯(lián)合創(chuàng)始人 {php extract(dr_get_form_post_value('liuyan'))}
<form class="row inner" action="{$post_url}&is_show_msg=1" id="contact" method="post" name="myform" >
{$form}
<div class="form-group col-sm-6 col-12">
<label><span>Your name</span></label>
<input type="text" name="data[mingzi]" id="name">
</div>
<div class="form-group col-sm-6 col-12">
<label><span>Your surname</span></label>
<input type="text" name="data[author]" id="surname">
</div>
<div class="form-group col-sm-6 col-12">
<label><span>Your e-mail</span></label>
<input type="text" name="data[youjian]" id="email">
</div>
<div class="form-group col-sm-6 col-12">
<label><span>Subject</span></label>
<input type="text" name="data[title]" id="subject">
</div>
<div class="form-group col-12">
<label><span>Your message</span></label>
<textarea name="data[liuyanxinxi]" id="message"></textarea>
</div>
<div class="form-group col-12">
<button id="submit" type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'contact', '2000', '{$rt_url}')" >SUBMIT</button>
</div>
</form>
<button id="submit" type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'contact', '2000', '{$rt_url}')" >SUBMIT</button>
這個(gè)錯(cuò)了
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 麻煩看一下是那里錯(cuò)了嘛,我測(cè)試一點(diǎn)提交就提示我
三樓已經(jīng)說明了錯(cuò)誤的地方,你改改代碼就行,你那句寫錯(cuò)了的
參考文檔:《外部頁面調(diào)用網(wǎng)站表單提交項(xiàng)目》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!