溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

織夢自定義表單制作在線訂單的方法

發(fā)布時間:2020-08-18 14:19:23 來源:億速云 閱讀:195 作者:小新 欄目:建站服務(wù)器

這篇文章將為大家詳細(xì)講解有關(guān)織夢自定義表單制作在線訂單的方法,小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。

織夢自定義表單怎么制作在線訂單?

織夢自定義表單制作在線訂單詳細(xì)解說

推薦學(xué)習(xí):織夢cms

第一步首先你要知道自定義表單的后臺界面在哪里截圖

織夢自定義表單制作在線訂單的方法

第二步添加自定義表單

織夢自定義表單制作在線訂單的方法

我選擇完全公開就是說訪客提交的時候他們也是可以看到我們的自定義信息的 數(shù)據(jù)表 模板根據(jù)你的模板自定義即可

我們先look下

織夢自定義表單制作在線訂單的方法

下面就是自定義的內(nèi)容了

我隨便舉例給大家演示下 首先返回界面

織夢自定義表單制作在線訂單的方法

點擊紅圈來添加我們的自定義表單

織夢自定義表單制作在線訂單的方法

添加自定義字段

我添加了三個自定義字段分別是

織夢自定義表單制作在線訂單的方法

下面預(yù)覽下我們的效果

織夢自定義表單制作在線訂單的方法

注意你添加的時候根據(jù)你的需要選擇 對應(yīng)的 數(shù)據(jù)類型即可

這樣自定義就基本完成了下面就是用代碼直接放置到你的對應(yīng)模板

這里給大家一個技巧 一般自定義的用你的單頁面模板修改即可

我的例子代碼是:

<form action="/plus/diy.php" enctype="multipart/form-data" method="post">
<input type="hidden" name="action" value="post" />
<input type="hidden" name="diyid" value="1" />
<input type="hidden" name="do" value="2" />
<table style="width:97%;" cellpadding="0" cellspacing="1">
<tr>
  <td align="right" valign="top">招聘:</td>
  <td><input type='text' name='zhaopin' id='zhaopin' style='width:250px'  class='intxt' value='' />
</td>
</tr>
<tr>
  <td align="right" valign="top">招聘頭像:</td>
  <td><input type='file' name='touxiang' id='touxiang' style='width:300px;height:22px;line-height:22px' />
</td>
</tr>
<tr>
  <td align="right" valign="top">閱歷:</td>
  <td><textarea name="yueli" rows="8" cols="60"></textarea>
<script type="text/javascript">//<![CDATA[
window.CKEDITOR_BASEPATH='/include/ckeditor/';
//]]></script>
<script type="text/javascript" src="/include/ckeditor/ckeditor.js?t=B8DJ5M3"></script>
<script type="text/javascript">//<![CDATA[
CKEDITOR.replace('yueli', {"extraPlugins":"dedepage,multipic,addon","toolbar":[["Source","-"],["Cut","Copy","Paste","PasteText","PasteFromWord","-","Print"],["Undo","Redo","-","Find","Replace","-","SelectAll","RemoveFormat"],["Bold","Italic","Underline","Strike","-"],["Table","HorizontalRule"],["Link","Unlink","Image","Anchor"],["Styles","Format","Font","FontSize"],["TextColor","BGColor"]],"height":350,"skin":"kama"});
//]]></script>
</td>
</tr>
<input type="hidden" name="dede_fields" value="zhaopin,text;touxiang,img;yueli,htmltext" />
<input type="hidden" name="dede_fieldshash" value="b4e15b5fd31e75fbe8712b4bf0dd7155" /></table>
<div align='center' style='height:30px;padding-top:10px;'>
<input type="submit" name="submit" value="提 交" class='coolbg' />
<input type="reset" name="reset" value="重 置" class='coolbg' />
</div>
</form>

簡單的辦法直接復(fù)制你發(fā)布頁面自定義表單的源代碼里找  <form> </form> 之間的部分即可

我用織夢默認(rèn)單頁面測試截圖

織夢自定義表單制作在線訂單的方法

測試內(nèi)容發(fā)布截圖

織夢自定義表單制作在線訂單的方法

關(guān)于織夢自定義表單制作在線訂單的方法就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,可以學(xué)到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI