Dreamweaver Insert File Field

Source: Internet
Author: User
Tags numeric numeric value dreamweaver

If you need to transfer the entire file to the server, you can create a file domain in the form to complete the task. To use a file field, the form must be set to post. The visitor can upload the file to the URL address that you specified in the form's action attribute.

First, insert a file field in the Dreamweaver

1. Insert the form in the document.

2. Select the method item as post in the form's Properties panel.

3. Select Multipart/form-data in the type of encoding Drop-down list.

4. Click on the mouse, positioning the cursor in the form frame line, click the "Insert" menu, select the "form" item, in the Pop-up submenu select "File Field" command.

Or select the form item in the Insert panel and click the File field icon, as shown in the following illustration:

Click on the "Window" menu and select "Insert" to open the Insert panel.

5. After clicking on the "File field" icon, the "Enter Tag Accessibility properties" dialog box pops up.

6. Click the OK button and the File field appears in the document. As shown in the following illustration:

7. Click on "File Fields" to open the file Fields property panel. As shown in the following illustration:

File Domain name: Enter a name for the file domain object.

Character width: Enter a numeric value. The Size property.

Maximum number of characters: Enter a numeric value. MaxLength property.

Second, tips

You can add multiple file fields by pressing the ENTER key by positioning the cursor in a box with a red dotted line around the form.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.