Show TOC

Form PropertiesLocate this document in the navigation structure

Use
Note

To display the description of a property, click the name of the property in the XML Forms Builder.

The following table shows the most important form properties:

Property

Description

Class

Defines the servlet that displays the form. If you create a new project, the class is automatically entered in standard forms. The following values are permitted:

  • Form

    Form for entering a document.

    Use this class for the Edit form.

  • Show form

    Form for displaying a document.

    Use this class for the Show form and the RenderListItem form.

  • List (obsolete)

    Use this class only for the ListEdit and ListShow forms.

Style

Table style reference for the CSS file that is used to display the HTML page.

Background Image

URL for background image

You can only set a background image if the HTML Fragment property is set to No . Therefore, you cannot set a background image for the RenderListItem form.

Background Repeat Mode

Defines whether the background image is displayed center-aligned or as a flat surface

HTML Fragment

Defines whether an HTML file or HTML fragment is generated without HTML, BODY and FORM tags

An HTML fragment must be generated, for example for the RenderListItem form, for display within an iView.

Positioning

Relative : The system renders the controls in an HTML table. If the user changes the size of the browser window, the system dynamically adjusts the space between the controls.

Absolute: You can place the controls in an exact position. In the properties for each control, you enter the exact position of the left-hand corner of the control using the values X and Y. However, you cannot influence the size of the controls.

Fixed: The width of the controls and the space between them is always constant.

This property is only available in forms that are based on the classes Form or Show Form . Relative positioning is always valid for forms that are based on the class List.

Body style

CSS class for depicting forms.

The system writes the class to the body tag of the HTML page.

Width

Percentage width of the form.

The form is depicted as an HTML table when it is converted into HTML. You can use the Width property to vary the width of this table in comparison with the superordinate element (for example, browser window or iView).

Height

Height of the table that is generated for the form.

This value is not relevant for the conversion to HTML.

Row Style

Table row-style reference for the CSS file that is used for the depiction of the HTML page.

Column Style

Table column-style reference for the CSS file that is used for the depiction of the HTML page.

Ignore White Space

Defines the way in which the system handles the spaces between the controls in the HTML table structure.

No : Between the controls, the system generates additional empty cells.

Yes : Between the controls, the system does not generate additional empty cells.

If you choose Yes , you must choose a value greater than 0 for the Cell Space and Cell Padding properties, so that the controls do not touch one another.

The system always depicts HTML pages using the CSS stylesheet that is currently set in the portal.