Controls ss:ajax delayedload event region ss:data calendar column repeater table tree ss:forms captcha checkbox codeeditor combobox datepicker daterange dialogbox editbox fileupload fileuploadimage form hidden money officeuseregion option password paymentmethod radiobutton row searchbox selectlist signature slider spinbox submitbutton submitimage submitlink textarea timepicker ss:layout rotator stepper stepperpanel tablist tablistitem ss:logic dependency parse if else include template variable ss:navigation breadcrumbs item primary secondary ss:personalisation firstname fullname lastname other ss:regions content contentadditional security togglable ss:standard audio embed icon image label link script video ss:templates column row section ss:thirdparty googlemap googlemapmarker
.
.
.

<ss:forms:row> </...>

Provides an easy way to consistently struture forms in a table-like way. Typically, a parent <ss:forms:form> will contain a new <ss: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 seperate lines.

Content

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

Attributes

align
string
The text-align of the form row. Default = "left", other possible values are "right", "center", "justify".
description
string
Longer description for the form row. Rendered in smaller text beneath the label.
height
mixed
Sets the height of the element. The default units are pixels. include the percentage symbol % to user percentage values.
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
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".
width
mixed
Sets the width of the element. The default units are pixels. include the percentage symbol % to user percentage values.

Examples

Form Row

Demonstrates a form row with basic values set.

XML Code:


Run Example