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 button to associate with a custom scripted function
 

These procedures enable you to add an advanced button that you can associate with a custom scripted function.

To create a custom script to associate with a button, see Validating form controls using JavaScript.

Note  Netscape Navigator 4.0 and earlier does not display advanced buttons.

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

  2. Do the following:

    ShowAdd an advanced button

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

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

    3. On the button, on top of the words Type Here, type a new label.

    ShowSet the properties of an advanced button

    1. Right-click the button, and then click Advanced Button Properties.
    2. In the Name box, type a unique name. This is an internal name, the site visitor will never see it.
    3. In the Value box, type the value that is to be sent to the form handler.
    4. In the Button Type list, click Normal.
    5. In the Button Size area, type or select the number of pixels to specify the width and height of the button.
    6. 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