## Button

Allows the user to submit the form, clear the form, or perform some other action.

The following parameters are available:

Parameter | What it means
Name | The name of the parameter sent to the form script.
Value | The label of the button, and the value sent to the form script.
Type | Submit creates a button that submits the form. Reset creates an optional button that resets the form items on the form. Button creates a button that can be used to execute a JavaScript command.

### To use a graphic as a submit button

Instead of providing a Submit button on a form you can use a graphic item as a submit button.

- Select the graphic item.
- Click the output icon at the top of the Inspector palette to display the item output settings.
- Select Submit and enter the value for the button:

When the user clicks the graphic item two parameters will be sent to the form script indicating the coordinates of the point where the user clicked; for example:

`AddToCart.X 35`

`AddToCart.Y 8`

Contents