| | Help and How-to Training Related Products and Technologies Support and Feedback Technical Resources Additional Resources | Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
Add a file upload control to a form
Important Add a file upload control
In Page view, at the bottom of the document window, click Design . - Open an existing Web page or create a new Web page in which you want to add a file upload control.
If the Web page is new, name and save it. How?
- On the File menu, click Save.
- In the Save As dialog box, in the File name box, type a file name for the Web page.
- In the document window, place the pointer where you want to add the file upload control.
- On the
Insert menu, point to
Form, and then click
File Upload.
In the Destination Folder dialog box, click Create New Folder, and then type the name of the folder. Important In order for the Destination Folder dialog box to display, you must name and save the Web page.
- Press ENTER, and then click OK.
By default, Microsoft FrontPage creates a form area and into it inserts
the upload control field, along with Browse, Submit, and Reset buttons. If FrontPage does not automatically create a form area, the default setting has been changed, and you can reset it. How?
- On the Tools menu, click Page Options, and then click the General tab.
- Locate and select the Automatically enclose form fields within a form check box.
- Set the properties of the folder where uploaded files are stored.
How?
- If the Folder List is hidden, on the View menu, click Folder List.
- In the Folder List, right-click the folder, and then click
Properties.
- Clear the
Allow scripts or programs to be run check box.
- Select
theAllow anonymous upload
to this directory checkbox.
- To overwrite existing files, select
the Allow
uploaded files to overwrite existing file names checkbox.
- Click
OK.
Set properties for a file upload control
- Right-click the file upload control field, and then click Form Field Properties.
- In the Name box, type the name of the file upload control.
- In the Width in characters box, type the number of characters that equals the desired width of the file upload control.
|