迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費且不限制商業(yè)使用,是免費開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計理念,支持的微信公眾號、小程序、APP客戶端、移動端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
全局表單 填完信息,提交 報錯
禁止提交,請檢查提交地址是否有誤
求助不知是那里出了問題
回復(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>
這個錯了
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 麻煩看一下是那里錯了嘛,我測試一點提交就提示我
三樓已經(jīng)說明了錯誤的地方,你改改代碼就行,你那句寫錯了的
參考文檔:《外部頁面調(diào)用網(wǎng)站表單提交項目》
回復(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>
這個錯了
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 麻煩看一下是那里錯了嘛,我測試一點提交就提示我
三樓已經(jīng)說明了錯誤的地方,你改改代碼就行,你那句寫錯了的
參考文檔:《外部頁面調(diào)用網(wǎng)站表單提交項目》