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.
In Page view, at the bottom of the document window, click Design
.
- Do the following:
Add an advanced button
- Click in the form or on the page where you want to add the advanced button.
- 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.
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.
- On the button, on top of the words Type Here, type a new label.
Set the properties of an advanced
button
- Right-click the button, and then click
Advanced Button Properties.
- In the
Name box, type a unique name.
This is an internal name, the site visitor will never see it.
- In the
Value box, type the value that is to be sent to the form handler.
- In the
Button Type list, click Normal.
- In the
Button Size area, type or select the number of pixels to specify the width and height of the button.
- 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.).