--- title: "Set up validation rule message" slug: "set-up-validation-rule-message-mandatory-blank" tags: ["Task topic"] updated: 2026-03-20T08:26:53Z published: 2026-03-20T17:44:40Z canonical: "docs.staedean.com/set-up-validation-rule-message-mandatory-blank" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up validation rule message You can define a message that is shown if the validation rule is not met. If no validation rule message is defined, the default message is shown if the validation is not met. In case of a data pattern validation, the applicable data pattern can also have a message defined. In this case, the message priority is: 1. If a validation rule message is defined, this message is shown. 2. If no validation rule message is defined, the data pattern message is shown. 3. If no data pattern message is defined, the default message is shown. You can also enter a description of the validation rule. You can translate both the validation message and the validation rule description. ### Steps 1. Click **Data quality management**. 2. On the **Data quality policies** tab, in the list, click the link of the desired data quality policy. 3. Click **Edit**. > [!NOTE] > **Note** > > If you want to edit another data quality policy version than the currently shown version, first select the desired version. To do so, on the **Action Pane**, on the **Version tab**, click **Versions**. On the dialog, select the desired version and click **OK**. 4. On the **Validation rules** tab, in the list, find and select the desired validation rule. 5. Click the **Messages** tab. 6. Define the validation message that is shown if the validation rule is not met. In the validation message, you can use these tags: In the **Validation message** field, type a value. - **Field name**: When the validation message is shown, the [Field name] tag is replaced with the name of the validated field. - **Field value**: When the validation message is shown, the [Field value] tag is replaced with the value that is entered in the validated field. 7. You can enter a description of the validation rule. In the **Rule description** field, type a value. 8. Sub-task: Translate validation message and description. 1. You can translate both the validation message and the validation rule description into several languages. Click **Translations**. 2. Click **Add** to open the drop dialog. 3. In the list, find and select the desired language. 4. Click **OK**. 5. In the **Rule description** field, type the translation of the validation rule description. 6. In the **Message** field, type the translation of the validation message. > [!NOTE] > **Note** > > In the validation message translation, you can use these tags: > > - **Field name**: When the validation message is shown, the [Field name] tag is replaced with the name of the validated field. > - **Field value**: When the validation message is shown, the [Field value] tag is replaced with the value that is entered in the validated field. > > To add a tag to the validation message translation, click **Message** tags, and click the desired tag. 7. Close the page. 9. Close the page. ## Related - [Set Data quality studio parameters](/set-data-quality-studio-parameters.md) - [Set up validation rule of type Mandatory or Blank](/set-up-validation-rule-of-type-mandatory-or-blank.md) - [Set up validation rule of type Range expression](/set-up-validation-rule-of-type-range-expression.md) - [Set up validation rule of type Data pattern](/set-up-validation-rule-of-type-data-pattern.md) - [Set up validation rule of type Web service](/set-up-validation-rule-of-type-web-service.md) - [Set up validation rule of type Configurable lookup](/set-up-validation-rule-of-type-configurable-lookup-flow.md) - [Set up validation rule of type Custom](/set-up-validation-rule-of-type-custom-flow.md) - [Set up validation rule of type Query](/set-up-validation-rule-of-type-query.md)