Button
The Button component is a wrapper of the Submit, Reset and Text
Form buttons.
Properties
name
- Description: (REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page.
- Type: String
- Default Value: Button1
- Method: getName()
- Method: setName()
buttonName
- Description: (REQUIRED) Enter unique name of Button form tag. Must not match the 'name' property.
- Type: String
- Default Value: FormButton1
type
- Description: The type of form button to render.
- Value Set: button | submit | reset
- Default Value: submit
- Type: String
label
- Description: The text that will appear on the button.
- Type: String
formName
- Description: The name of the form that contains the button.
- Type: String
testMode
- Description: Select the test mode.
- Value Set: off | alerts | text
- Type: String
- Default Value: off
- Is Expert: Yes
Methods
Render
- Name: render()
- Description: The method that generates the HTML for the button
Events
On Blur
- Name: onBlur()
- Description: Event handler fires after the component loses focus.
On Click
- Name: onClick()
- Description: Event handler fires after a user clicks the button.
On Focus
- Name: onFocus()
- Description: Event handler fires after the component gains focus.
On Mouse Down
- Name: onMouseDown()
- Description: Event fires on down press of mouse button.
On Mouse Up
- Name: onMouseUp()
- Description: Event fires on upward movement or release of mouse button.
On Render
- Name: onRender()
- Description: Event handler fires after the render method has been called.
Other Information
Environment: Client