> ## Documentation Index
> Fetch the complete documentation index at: https://support.getskara.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Display Error Message Action

* **Display Error Message** Action will allow you to show the error message when a validation rule is true and fulfilled **Topics covered:**

[How to configure the Display Error Message Action](#how-to-configure-display-error-message-action)

* [Practical Example](#practical-example)

### How to Configure Display Error Message Action

Navigate to the **Profile Icon** at the top right corner.Click on **Setup**. Go to the **Modules** section.Select the Module on which you wish to create a Validation RuleHere, click on the \*\* Validation Rules \*\*\*<img src="https://mintcdn.com/salesmate/h1XO93ZpHtIRdIyw/setup/validation-rules/images/Screen-Shot-2025-02-18-at-10.26.01-AM-3.png?fit=max&auto=format&n=h1XO93ZpHtIRdIyw&q=85&s=c49ee0a64a3490a2e6f0a1c175d6dad9" alt="Screen Shot 2025-02-18 at 10.26.01 AM.png" width="2610" height="1428" data-path="setup/validation-rules/images/Screen-Shot-2025-02-18-at-10.26.01-AM-3.png" />

* *When setting up the validation rule select*\* Display Error Message \*\* Action to configure the error message as per your requirement

<img src="https://mintcdn.com/salesmate/h1XO93ZpHtIRdIyw/setup/validation-rules/images/Screen-Shot-2025-02-17-at-9.43.19-PM.png?fit=max&auto=format&n=h1XO93ZpHtIRdIyw&q=85&s=a71edaba9e73b479101a3b287ea806a5" alt="Screen Shot 2025-02-17 at 9.43.19 PM.png" width="2610" height="1542" data-path="setup/validation-rules/images/Screen-Shot-2025-02-17-at-9.43.19-PM.png" />

To configure the **Display Error Message** Action, you'll need to provide the following details:**Error Message**: Mention the error message that you need to display when the validation condition is matched **Message Position**: There are two options for the message position you would need to choose one of them as per your requirement
Top of the pageBelow the field **Description**: Offer a brief explanation of the action’s function.

<img src="https://mintcdn.com/salesmate/h1XO93ZpHtIRdIyw/setup/validation-rules/images/Screen-Shot-2025-02-17-at-9.53.20-PM.png?fit=max&auto=format&n=h1XO93ZpHtIRdIyw&q=85&s=079c7dada3aaad4665df6939486c7244" alt="Screen Shot 2025-02-17 at 9.53.20 PM.png" width="2610" height="1546" data-path="setup/validation-rules/images/Screen-Shot-2025-02-17-at-9.53.20-PM.png" />

### Practical Example

We want to add a validation rule for the mobile field in a contact.On the screen, we need to set up a validation condition.The condition should specify that the mobile number must be at least 10 digits long.Once the condition is added, we will configure an action to display an error message.If the entered number has fewer than 10 digits, the system will show a message like **"Character length is not supported."**

<img src="https://mintcdn.com/salesmate/4lucwqN4or9Eyz9d/setup/validation-rules/images/blobid0.png?fit=max&auto=format&n=4lucwqN4or9Eyz9d&q=85&s=0b1c43b9cab5d138300ef22e3fb2c848" alt="blobid0.png" width="1514" height="1012" data-path="setup/validation-rules/images/blobid0.png" />
