织梦自定义表单怎么制作在线订单-DEDECMS

资源魔 49 0

织梦自界说表单怎样制造正在线定单?

织梦自界说表单制造正在线定单具体讲解

保举学习:织梦cms

第一步起首你要晓得自界说表单的后盾界面正在那里截图

aea2195e5e519b06ef744a59f1dcc2e.png

第二步增加自界说表单

302d013a6570ef56dd0325e71b7adae.png

我抉择齐全地下就是说访客提交的时分他们也是能够看到咱们的自界说信息的 数据表 模板依据你的模板自界说便可

咱们先look下

106dbce619e8c693f66fc1e4077e41b.png

上面就是自界说的内容了

我随意举例给各人演示下 起首前往界面

e57b4f45472d22d387ae7e5b014e5e2.png

点击红圈来增加咱们的自界说表单

8eeeaec176a2cf5b30807ee9f0d3da3.png

增加自界说字段

我增加了三个自界说字段辨别是

783653f0c29ed70b130ed27e5e3cbc2.png

上面预览下咱们的成果

b3bd6dd52e064e6d34c3e8c55044418.png

留意你增加的时分依据你的需求抉择 对应的 数据类型便可

这样自界说就根本实现了上面就是用代码间接搁置到你的对应模板

这里给各人一个技术 普通自界说的用你的单页面模板修正便可

我的例子代码是:

<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>

标签: 织梦教程 织梦技巧 dedecms教程 dede问题解决 织梦

抱歉,评论功能暂时关闭!