RW_RESET


Purpose

Creates a reset button for an HTML form. This button resets the controls on a form to their initial default values. Sends the code generated directly to RealWeb's RWC.OUTBUF output buffer.

Syntax

RW_RESET(Name, ButtonText, aClass)

Parameters

Name Name of the button.

ButtonText Text to be displayed on the button.

aClass A dynamic arrayClosed A multi-element string variable in which data is divided into elements by attribute marks, value marks and subvalue marks, matching the structure of a Reality file item. The entire array is referenced and stored as a single variable. For more information, refer to the Reality DataBasic Reference Manual that can contain the following elements:

Element No.

Attribute

Description

1

CLASS

The name of a tag class defined in a CSSClosed Cascading Style Sheet - a mechanism by which the presentation of an HTML page can be separated from the content. A style sheet can be used to determine the appearance of one or more HTML pages.  stylesheet.

2

VALUE

Text to be displayed on the button.

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.