Form notifications are used to display description or error messages for form fields.
|Web resource key:||
|AMD Module key:||
HTMLUse markup to display description for your form fields:
Data attributes deprecated
Create a field with the attribute
Information about a field can be communicated by adding the
data-aui-notification-info data attribute.
The value of this attribute should be the message you wish to place on the field
In the same way, you may put error messages on the field with the
.error container is only present when there are a non-zero number of errors. It is removed from the DOM otherwise.
You can stack multiple messages on a field at the same time. This can be done by making the array a JSON array string.