7.1.2  Form Elements

Each form consists of one or more fields. Fields are on-screen controls which can be used by end users to interact with the report. They are most commonly used in Parameter Sheets, but can be placed anywhere within a report as well.

Table 12. Form Controls

Element

function

Button

Submits the form to the server when activated.

ImageButton

Submits the form to the server when activated.

CheckBox

Enters boolean values.

RadioButton

Make mutually exclusive selections.

Choice

Select choice from a list.

List

Select one or more choices from a list.

DateCombo

Specify date.

TextField

Enter single line text data.

TextArea

Enter multi-line text data.

All form field elements are float elements. This means they share the layout properties of float elements, and can be positioned using an anchor.

To access the properties of a form element, right-click the element and select 'Properties' from the context menu. This opens the relevant 'Properties' dialog box.

A 'Submit' button submits only values from form elements which have the same 'Form Name' as the 'Submit' button itself.

Every form field element has 'Form Name' and 'Field Name' properties. The 'Form Name' is used to group fields into one form. All elements sharing the same 'Form Name' belong to the same form, and are packaged into a single repletRequest object to be forwarded to the server. The RepletRequest object contains values from the fields in the form. The field values are identified by the 'Field Name'.

<< 7.1.1 Accessing the Form Controls © 1996-2013 InetSoft Technology Corporation (v11.4) Button >>