---
title: "lfShowFieldMessage"
canonical: "https://support.appfire.com/space/PSJ/15480524/lfShowFieldMessage"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | lfShowFieldMessage(field, message [], messageClass, messageSize]) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Displays a message for the given field.

Displays a message for the given field.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| field | String | Yes | Specifies the field for displaying the message |
| message | String | Yes | Message itself |
| messageClass | String | No | Message type. Options are ERROR, WARNING, SUCCESS, and INFO (default). |
| messageSize | String | No | Message size. Options are SMALL, MEDIUM (default), and BIG. |

## Return Type

**None**

## Example

On the issue screen, the message will be displayed like in the image below:

```javascript
lfShowFieldMessage("assignee", "Assignee changed", "SUCCESS");
```

The **messageClass** parameter can be:

- **ERROR**: will display an error message
- **WARNING**: will display a warning message
- **SUCCESS**: will display a success message
- **INFO**: will display an info message


> ⚠️ If the messageClass is not specified an info message will be displayed as default.

## See also

> Macro (contentbylabel)