fields.fieldInfo

Since: Editor 1.0

Information text that is shown below the input control.
Please note - this property requires the Editor extension for DataTables.

Description

It can often be helpful to end users if fields, particularly complex fields, have information messages either explaining what the data in the field represents, or how a particular input control operates. This option provides the ability to show information text after and below the input control.

This is the compliment of the fields.labelInfo option, which can be used to show information text after and below the field label.

The text shown by this option can be altered using the field().fieldInfo() API methods after the field has been initialised.

Type

This option can be given in the following type(s):

Example

:

var editor = new DataTable.Editor({
	ajax: 'php/staff.php',
	table: '#myTable',
	fields: [
		{
			label: 'First name:',
			name: 'first_name',
			fieldInfo: "Staff member's first name"
		}
	]
});

Related

The following options are directly related and may also be useful in your application development.