Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office FrontPage
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
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.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Add a file upload control to a form
 

Important  

ShowAdd a file upload control

  1. In Page view, at the bottom of the document window, click Design Button image.

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

    ShowHow?

    1. On the File menu, click Save.
    2. In the Save As dialog box, in the File name box, type a file name for the Web page.

  3. In the document window, place the pointer where you want to add the file upload control.
  4. On the Insert menu, point to Form, and then click File Upload.
  5. 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.

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

    ShowHow?

    1. On the Tools menu, click Page Options, and then click the General tab.
    2. Locate and select the Automatically enclose form fields within a form check box.

  7. Set the properties of the folder where uploaded files are stored.

    ShowHow?

    1. If the Folder List is hidden, on the View menu, click Folder List.
    2. In the Folder List, right-click the folder, and then click Properties.
    3. Clear the Allow scripts or programs to be run check box.
    4. Select theAllow anonymous upload to this directory checkbox.
    5. To overwrite existing files, select the Allow uploaded files to overwrite existing file names checkbox.
    6. Click OK.

ShowSet properties for a file upload control

  1. Right-click the file upload control field, and then click Form Field Properties.
  2. In the Name box, type the name of the file upload control.
  3. In the Width in characters box, type the number of characters that equals the desired width of the file upload control.
advertisement