External Interfaces > RealWeb > RealWeb API > Forms > Form Elements > RW_BUTTON

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

RW_BUTTON (RealWeb) (rw_button.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RW_BUTTON


Purpose

Defines a push button on a form. The button can be linked to a JavaScriptClosed function which is called to initiate client-side processing of the form when the button is clicked. Outputs directly to the RWC.OUTBUF buffer.

Syntax

RW_BUTTON(Name, ButtonText, JavaScriptFunction, aClass)

Parameters

Name Name of the button.

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.

JavaScriptFunction
The name of a JavaScriptClosed function which is to be called when the button is clicked. This is used for optional client-side processing.

aClass A dynamic arrayClosed that can contain the following elements:

Element No. Attribute Description
1 CLASS The name of a tag class defined in a CSSClosed stylesheet.
2 VALUE Specifies the text displayed on the button.  and its value. This is also the value returned when the form is submitted with this button clicked.
3 OnClick Specifies the name of a function to be run when the button is clicked.

Attributes defined in the aClass parameter are applied to the INPUT tag.

For information about using aClass, see The aClass Parameter.

Dependencies

Requires a previous call to RW_START_HTML_FORM.

RealityV15.1 (MoTW) Revision 7Comment on this topic