Since: Editor 1.3

Get / set a dynamic information message for the field.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.


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 method provides the ability to set and clear such an information message for fields.

A field message can be set when it is initially added to the form using the fields.message option. This API method extends that ability by providing a method to get and set the field information message any point after a field has been added to the form.

Editor provides three different elements for information display in each field, which can be used independently of each other, or in conjunction as required by your user interface design:

Note that the message() method also provides the ability to show and hide an information message for a specific field, and also extends that ability to being able to set a form level information message. For field messages, these two methods can often be used interchangeably. The key difference is in the return value - this method will return a DataTables.Editor.Field instance, while the message() method returns a DataTables.Editor instance. This can effect how you chain methods if you are using the returned value for chaining.