Home CMS Tutorial DEDECMS How to create an online order using Dreamweaver's custom form

How to create an online order using Dreamweaver's custom form

Jan 10, 2020 am 09:15 AM
dream weaving

How to create an online order using Dreamweaver's custom form

How to create an online order using Dreamweaver’s custom form?

Detailed explanation of online order making of Dreamweaver custom form

Recommended study: Dreamweaver cms

The first step is that you need to know Where is the screenshot of the backend interface of the custom form?

How to create an online order using Dreamweavers custom form

The second step is to add the custom form

How to create an online order using Dreamweavers custom form

I choose to make it completely public That is to say, when visitors submit, they can also see our custom information data table template, which can be customized according to your template

Let’s take a look first

How to create an online order using Dreamweavers custom form

The following is the customized content

I will give you an example to demonstrate. First return to the interface

How to create an online order using Dreamweavers custom form

Click the red circle to add our customization Form

How to create an online order using Dreamweavers custom form

Add custom fields

I added three custom fields which are

How to create an online order using Dreamweavers custom form

# #Preview our effect below

How to create an online order using Dreamweavers custom form

Please note that when adding, you can select the corresponding data type according to your needs

In this way, the customization is basically completed The following is to use the code to place it directly into your corresponding template.

Here is a trick for you. Generally, you can customize it with your single page template.

My example code is:

<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=&#39;text&#39; name=&#39;zhaopin&#39; id=&#39;zhaopin&#39; style=&#39;width:250px&#39;  class=&#39;intxt&#39; value=&#39;&#39; />
</td>
</tr>
<tr>
  <td align="right" valign="top">招聘头像:</td>
  <td><input type=&#39;file&#39; name=&#39;touxiang&#39; id=&#39;touxiang&#39; style=&#39;width:300px;height:22px;line-height:22px&#39; />
</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=&#39;/include/ckeditor/&#39;;
//]]></script>
<script type="text/javascript" src="/include/ckeditor/ckeditor.js?t=B8DJ5M3"></script>
<script type="text/javascript">//<![CDATA[
CKEDITOR.replace(&#39;yueli&#39;, {"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=&#39;center&#39; style=&#39;height:30px;padding-top:10px;&#39;>
<input type="submit" name="submit" value="提 交" class=&#39;coolbg&#39; />
<input type="reset" name="reset" value="重 置" class=&#39;coolbg&#39; />
</div>
</form>
Copy after login

The simple way is to directly copy the source code of the custom form on your publishing page and look for the part between

I use DreamWeaver's default single page test Screenshot

How to create an online order using Dreamweavers custom form

Test content release screenshot

How to create an online order using Dreamweavers custom form

The above is the detailed content of How to create an online order using Dreamweaver's custom form. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to import css in DreamWeaver How to import css in DreamWeaver Dec 03, 2020 pm 04:03 PM

How to import css into DreamWeaver: 1. Place the HTML template file in the "templets" folder; 2. Change the suffix of the HTML file to ".htm"; 3. Add "{dede:" in front of the original style path: global.cfg_templets_skin/}" can be used.

How to solve the problem if Dreamweaver fails to install php7.0 How to solve the problem if Dreamweaver fails to install php7.0 Mar 23, 2023 am 11:11 AM

It is a common situation to encounter problems when installing Dreamweaver. One of the possible problems is that php7.0 cannot be successfully installed. In this article, we will explain how to solve this problem.

An article discusses the new features and advantages of Dreamweaver PHP5.7 version An article discusses the new features and advantages of Dreamweaver PHP5.7 version Mar 21, 2023 am 09:36 AM

Dreamweaver is a very famous CMS. It is used by many websites due to its simplicity and ease of use. Its backend is developed using PHP, and the latest official version is Dreamweaver PHP 5.7. In this article, we will explore the new features and advantages of DreamWeaver PHP 5.7 version.

Detailed explanation of CMS database file recovery method Detailed explanation of CMS database file recovery method Mar 13, 2024 pm 03:15 PM

The database is the core of website operation and stores important information such as user data and article content. Therefore, the backup and recovery of database files is particularly important during website operation. For websites built using Dreamweaver CMS, the recovery of database files is also a critical task. This article will introduce in detail the recovery method of Dreamweaver CMS database files, and provide specific code examples to help users quickly restore website data and ensure the normal operation of the website. 1. Back up the database file. Before restoring the database file, you first need to ensure that it has been

A brief analysis of the PHP version and number of components required for DreamWeaver A brief analysis of the PHP version and number of components required for DreamWeaver Mar 21, 2023 am 10:50 AM

DreamWeaver is a very popular website construction system, and its architecture is based on the PHP language. Therefore, Dreamweaver requires PHP to run. So, specifically, how many PHPs are needed to weave dreams? This is not a simple question. This article will introduce the PHP version and number of components required for Dreamweaver from the following aspects.

Is cms a dream weaver? Is cms a dream weaver? Mar 01, 2023 am 09:58 AM

cms is not Dreamweaver, cms refers to content management system, and Dreamweaver is just a kind of cms; Dreamweaver cms refers to Dreamweaver content management system, and content management system is a kind of WEB front-end and back-end office system or process. A software system between websites; cms has many excellent designs based on templates, which can speed up website development and reduce development costs.

Master the key points of Dreamweaver PHP5 Master the key points of Dreamweaver PHP5 Mar 26, 2024 am 11:12 AM

Dreamweaver CMS is an open source content management system developed based on PHP5 and is widely used in the field of website construction. It is very important for developers to master the key points of Dreamweaver PHP5. This article will introduce some key points and provide specific code examples to help readers better understand and apply DreamWeaver PHP5. 1. Files included in the development of DreamWeaver CMS often require data sharing and code reuse between different files. PHP's file inclusion feature is an effective way to solve this problem. In DreamWeaver CMS, often

What version of php is required for DreamWeaver? What version of php is required for DreamWeaver? Jun 06, 2023 pm 01:20 PM

Dreamweaver requires PHP version 5.2 and above. The installation method: 1. First install PHP and configure the environment; 2. Download the DedeCMS installation package and extract it to the root directory of the website; 3. Open the website URL and follow the prompts to complete the installation; 4. After the installation is complete, you can access the Dreamweaver backend through http://localhost/yourwebsite.

See all articles