RW_BUTTON_CLICK


Use of this API subroutine is now deprecated - it can still be used, but for new developments it is recommended that you use RW_BUTTONinstead, since this provides enhanced functionality.

Purpose

Defines a push button on a form.

Syntax

RW_BUTTON_CLICK(ButtonText, Function)

Parameters

ButtonText Specifies the text that is displayed on the button. This is also the value returned when the form is submitted with this button clicked.

Function The name of a function, typically written in JavaScript or VBScript, which is to be called when the button is clicked. This is used for optional client side processing.

Dependencies

Requires a previous call to RW_START_HTML_FORM.