聯(lián)系官方銷售客服
1835022288
028-61286886
插件名稱 | 表單系統(tǒng) V2.5 |
插件作者 | 迅睿官方團(tuán)隊 |
最近更新 | 2024-10-23 13:40:58 |
修復(fù)刪除表單時的故障問題 |
多語言站點,留言表單提交時顯示
{php extract(dr_get_form_post_value('liuyan'))} <h2 class="DINCondensedC text-white">MESSAGE</h2> <form form="liuyan" site="1" method="post" name="myform" id="myform" enctype="multipart/form-data" action="{$post_url}&is_show_msg=1" onsubmit="return checkForm();"> <!-- 用戶 --> <div class="form-group"> <div class="field"> <input type="text" name="data[name]" id="dr_name" class="input radius-rounded text-main bg-white" placeholder="NAME" value=""> </div> </div> <!-- 電話 --> <div class="form-group"> <div class="field"> <input type="text" name="data[tel]" id="dr_tel" class="input radius-rounded text-main bg-white" placeholder="TELPHONE" value=""> </div> </div> <!-- 電話 --> <div class="form-group"> <div class="field"> <input type="text" name="data[mail]" id="dr_mail" class="input radius-rounded text-main bg-white" placeholder="E-MAIL" value=""> </div> </div> <!-- 留言 非必填 --> <div class="form-group"> <div class="field"> <textarea class="textarea text-main radius-big" name="data[message]" id="dr_message" placeholder="MESSAGE" value="" rows="4"></textarea> </div> </div> <!-- 留言 end --> <div class="blank"></div> <!-- 提交 --> <div class="form-button text-center"> <button class="button button-large border-none radius-rounded DINCondensedC bg-sub" onclick="dr_ajax_submit('{dr_now_url()}', 'myform', '2000', '{$rt_url}')" type="button">SUBMIT</button> </div> </form>
提交按鈕的函數(shù)寫錯了
參考文檔:《外部頁面調(diào)用網(wǎng)站表單/全局表單提交項目》
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人
這樣寫也是相同的提示
回復(fù)@GoWorkRoom
我知道錯了,問題是我不知道正解的寫法是什么,
看教程也是一頭霧水,