联系官方销售客服
1835022288
028-61286886
怎么使用:外部页面调用模块表单提交项目
{php extract(dr_get_mform_post_value(MOD_DIR, 'baojia',$id))} <p>调试信息:{$debug}</p> <form action="{$post_url}&is_show_msg={urlencode($rt_url)}" 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-2">{dr_lang('验证码')}</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="portlet-body form myfooter"> <div class="form-actions text-center"> <button type="button" onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '{$rt_url}')" class="btn green"> AJAX提交</button> <button type="submit" class="btn green"> 普通提交</button> </div> </div> </form> 调试信息:{$debug}
独立模块不绑定域名,使用以上代码一切正常,独立模块绑定了域名之后 提交之后总是提示 图片验证码不正确