<forms:row>
AJAX
Data
Forms
ATTRIBUTES
EXAMPLES
Layout
Logic
Navigation
Personalisation
Standard
Templates
Regions
Third Party

<forms:row> </...>

Provides an easy way to consistently structure forms in a table-like way. Typically, a parent <forms:form> will contain a new <forms:row> for each item the user needs to fill out.

Form Row's can take one of two display styles: one_column or two_column, as defined by the type attribute. two_column is the default, and means that the row label will appear on the same line (but in a different column), as the form row content. one_column renders the label and the content on separate lines.

Related Tutorials

Content

any
What should appear inside the form row. Presumably contains a form item such as <forms:editbox>.

Attributes

align
string
Alignment

The text-align of the form row. Default = "left", other possible values are "right", "center", "justify".
description
string
Form Row Description

Longer description for the form row. Rendered in smaller text beneath the label.
id
string
Give this control a unique id. Can be accessed in the client DOM (eg, document.getElementById('myid') or in the server DOM using [? $myid ?] or [? $('myid') ?]).
label
string
Form Row Label

The label of the form row. (Recommended over placing label text inside the form row content).
type
string
Style of the form row. Default = "one_column", other possible values are: "two_column".

Tutorials

Examples

Form Row

Demonstrates a form row with basic values set.

HTML:

<forms:row label="Form Row" description="A form row">Content Here</forms:row>

Run Example