| | 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 push button to a form
In Page view, at the bottom of the document window, click Design . - Do the following:
Add a push button
- Click in the form or on the page where you want to place the push button.
- 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. 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 a push button, including the Submit and Reset buttons
- Double-click the button. The Push Button Properties dialog box opens.
- In the
Name box, type a unique name to identify the button.
This is an internal name that site visitors will never see.
- Next to
Button type click
one of the following:
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. How?
- Type a button label in the Value/label box, and then click OK.
- To view the HTML and give this button a custom script action, at the bottom of the document window, click Code
.For information about creating custom scripts to handle form results, see Validating form controls using JavaScript.
- 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.).
|