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 push button to a form
 

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

  2. Do the following:

    ShowAdd a push button

    1. Click in the form or on the page where you want to place the push button.
    2. On the Insert menu, point to Form, and then click Push Button.

      Note  If you have not started with a form, by default, Microsoft FrontPage creates a form area with Button, Submit, and Reset buttons and inserts those buttons inside that form area. 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.

    ShowSet the properties of a push button, including the Submit and Reset buttons

    1. Double-click the button. The Push Button Properties dialog box opens.
    2. In the Name box, type a unique name to identify the button. This is an internal name that site visitors will never see.
    3. Next to Button type click one of the following:

      • Normal
      • Submit
      • Reset

      Choosing Submit will label the button with the word Submit. Choosing Reset will label the button as Reset. If you choose Normal, you will need to provide a label for the push button.

      ShowHow?

      1. Type a button label in the Value/label box, and then click OK.
      2. To view the HTML and give this button a custom script action, at the bottom of the document window, click Code Button image .

        For information about creating custom scripts to handle form results, see Validating form controls using JavaScript.

    4. Click Style to access other options for formatting your form by using cascading style sheets (cascading style sheets (CSS): Declarations, either embedded in a Web page or stored in a separate .css file that is linked to a Web page, that specify the appearance of particular HTML elements.) as an inline style (inline style: A method of applying cascading style sheet properties and values to an element on a page, such as a table. You can use this method even if the page is not linked to an external style sheet or does not contain an embedded style sheet.).

advertisement