前端頁(yè)面:

流程:
1、填寫(xiě)完信息后提交,報(bào)錯(cuò){"code":0,"msg":"禁止提交,請(qǐng)檢查提交地址是否有誤","data":[]}
2、但是后臺(tái)數(shù)據(jù)提交成功了

后臺(tái)設(shè)置:

代碼:
單獨(dú)的子頁(yè)面(zixun.html),并在多個(gè)頁(yè)面中調(diào)用該子頁(yè)面
{php extract(dr_get_form_post_value('yonghuzixun'))}
{$form}
{$myfield}
{$diyfield}
{$sysfield}
{if $is_post_code}
{dr_lang('')}{dr_code(120, 35)}
{/if}
(): : : : : :
提交按代碼寫(xiě)錯(cuò)了,吧你代碼發(fā)上來(lái),我免費(fèi)給你糾正
開(kāi)源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!
{php extract(dr_get_form_post_value('yonghuzixun'))} {$form} {$myfield} {$diyfield} {$sysfield} {if $is_post_code} {dr_lang('')}{dr_code(120, 35)} {/if} (): : : : : :回復(fù)@迅睿框架技術(shù)-實(shí)習(xí)
{php extract(dr_get_form_post_value('yonghuzixun'))} <!-- <p>調(diào)試信息:{$debug}</p>--> <form action=" " class="form-horizontal" method="post" name="myform" id="myform"> {$form} <div class="fc-form-body"> {$myfield} {$diyfield} {$sysfield} {if $is_post_code} <div class="form-group"> <label class="control-label col-md-1">{dr_lang('驗(yàn)證碼')}</label> <div class="col-md-10"> <label> <div class="form-recaptcha"> <div class="input-group"> <input type="text" class="form-control" name="code"> <div class="input-group-btn fc-code"> {dr_code(120, 35)} </div> </div> </div> </label> </div> </div> {/if} </div> <div class="send btn-circle"> <input type="submit" name="submit" value="提交項(xiàng)目需求" onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '{$rt_url}')" > <i class="btn-circle-hover" style="top: 3.5px; left: 494.984px; width: 0px; height: 0px; opacity: 0; transition: width 0.6s ease 0s, height 0.6s ease 0s, opacity 1.3s ease 0s;"></i><i class="btn-circle-click"></i> </div> </form> <!-- 調(diào)試信息:{$debug}--><input type="submit" name="submit" value="提交項(xiàng)目需求" onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '{$rt_url}')" >改成
<input type="button" name="button" value="提交項(xiàng)目需求" onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '{$rt_url}')" >開(kāi)源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!
哈哈,但凡會(huì)點(diǎn)HTML就不會(huì)犯這種低級(jí)錯(cuò)誤了。