# Custom error message under an entry field (example: number field)

**URL:** https://community.glideapps.com/t/custom-error-message-under-an-entry-field-example-number-field/37117
**Category:** Ask for Help
**Created:** [January 13, 2022, 3:49pm UTC](https://community.glideapps.com/t/custom-error-message-under-an-entry-field-example-number-field/37117 "2022-01-13T15:49:31Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [January 13, 2022, 3:49pm UTC](https://community.glideapps.com/t/custom-error-message-under-an-entry-field-example-number-field/37117/1 "2022-01-13T15:49:31Z")

</div>

Do we have control over the sentence in red that appears when there is an error filling in a field? As for example when setting a minimum number, there is a small sentence in red which appears below the field. Example, in the case of a minimum value, this gives: **the value must be greater than or equal to 5.**

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [January 13, 2022, 3:56pm UTC](https://community.glideapps.com/t/custom-error-message-under-an-entry-field-example-number-field/37117/2 "2022-01-13T15:56:03Z")

</div>

We don’t have control over that statement specifically, but you can always create a hint text component to appear when that same condition is met and then use whatever verbiage you’d like.

---

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [January 13, 2022, 4:00pm UTC](https://community.glideapps.com/t/custom-error-message-under-an-entry-field-example-number-field/37117/3 "2022-01-13T16:00:36Z")

</div>

Thank you I will try it. Pity 😕 but that design is beautiful. I need something short, small, red. This is what does Instagram.

---

<div class="post-metadata">

### Author: ![ShantanuIyengar](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/shantanuiyengar/32/35546_2.png) [@ShantanuIyengar](https://community.glideapps.com/u/ShantanuIyengar)
#### Post date: [January 13, 2022, 4:08pm UTC](https://community.glideapps.com/t/custom-error-message-under-an-entry-field-example-number-field/37117/4 "2022-01-13T16:08:15Z")

</div>

Yes! You got two options

1. You can choose to have min and Max and the default Red hint kicks in!
2. Use CSS

```
[data-test="app-text-field"] +caption { display: none; } [data-test="app-text-field"]::after{ content: "Invalid phone number"; color: rgb(255,118,116); margin-top: 8px; text-align: start; font-weight: 400; font-size: 0.75rem; line-height: 1.0625rem; font-family: -apple-system, BlinkMacSystemFont, Roboto, sans-serif; } Credits: @ThinhDinh
```

---

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [January 13, 2022, 6:59pm UTC](https://community.glideapps.com/t/custom-error-message-under-an-entry-field-example-number-field/37117/5 "2022-01-13T18:59:09Z")

</div>

> [@ShantanuIyengar](#):
>
> Use CSS

Oooh great … where do I put that code ?

---

<div class="post-metadata">

### Author: ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)
#### Post date: [January 13, 2022, 10:30pm UTC](https://community.glideapps.com/t/custom-error-message-under-an-entry-field-example-number-field/37117/6 "2022-01-13T22:30:08Z")

</div>

In a rich text component
