A newer version of this page is available. Switch to the current version.

jQuery Form - SimpleItem.label

Specifies properties for the form item label.

Type:

Object

Default Value: undefined

alignment

Specifies the label's horizontal alignment.

Type:

String

Default Value: 'left'
Accepted Values: 'center' | 'left' | 'right'

location

Specifies the location of a label against the editor.

Type:

String

Default Value: 'left'
Accepted Values: 'left' | 'right' | 'top'

NOTE
This property has higher priority than the labelLocation property of the form.
See Also

showColon

Specifies whether or not a colon is displayed at the end of the current label.

Type:

Boolean

Default Value: from showColonAfterLabel

NOTE
This property has higher priority than the showColonAfterLabel property of the form.

text

Specifies the label text.

Type:

String

Default Value: undefined

visible

Specifies whether or not the label is visible.

Type:

Boolean

Default Value: true