Skip to content

Ajax Response: set message

Plugin ID: eca_endpoint_set_ajax_response_message

Available since: 2.0.0

Fields

Type — config key: type

The message type.
When using the "Defined by token" option, make sure there is a token with this name: eca_endpoint_set_ajax_response_message_type

Type: select · Required: yes · Default: status

Allowed values: status, warning, error, _eca_token

Message — config key: message

The message returned to the ajax response.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Wrapper Selector — config key: wrapper

The CSS selector for the wrapper for messages. Leave empty to use defaults.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

ID — config key: id

The message ID, it can be a simple value or several values separated by a space which can be used as an explicit selector for a message.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Announce — config key: announce

The CSS selector for the wrapper for messages. Leave empty to use defaults.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Announce priority — config key: priority

The priority that will be used for the announcement. Defaults to empty/unset which will not set a priority in the response sent to the client and therefore the default of polite will be used for the message.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Clear previous messages — config key: clear

If TRUE, previous messages will be cleared first.

Type: checkbox · Required: no · Default: true