# Text entry needs validation

**URL:** <https://community.glideapps.com/t/text-entry-needs-validation/31744>\
**Category:** Ask for Help\
**Created:** [September 13, 2021, 8:44pm UTC](https://community.glideapps.com/t/text-entry-needs-validation/31744 "2021-09-13T20:44:17Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)\
**Post date:** [September 19, 2021, 1:29pm UTC](https://community.glideapps.com/t/text-entry-needs-validation/31744/21 "2021-09-19T13:29:39Z")

</div>

![IMG_20210919_185734](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/a/ea2f692ad497d0758fdc2c37638d2497996c18b4.jpeg)  
I’m getting this problem.i need an android font family  
And also I’m getting RGB in red underline. ![IMG_20210919_190400](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/7/8785efe5cb90ec10d2ea9bd51760c83468c7987a.jpeg)  
Also it’s showing for the below field too

How to handle this.

The error comes once I have not entered anything  
But before I’m into the page the error comes.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 19, 2021, 3:20pm UTC](https://community.glideapps.com/t/text-entry-needs-validation/31744/22 "2021-09-19T15:20:35Z")

</div>

How many entry components do you have on this screen? What type of components are they?

---

<div class="post-metadata">

**Author:** ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)\
**Post date:** [September 19, 2021, 3:25pm UTC](https://community.glideapps.com/t/text-entry-needs-validation/31744/23 "2021-09-19T15:25:15Z")

</div>

Have fixed 90 percent problem in it by action.

1.without phone number  
2.without address  
3.11 digit phone number  
4.9 digit phone number  
5.now the ugly errors are not coming because of no value in min and Max value  
6.If phone number and address both empty it should throw error as enter phone number and address instead throws enter phone number - this can’t be implemented in action.any idea?

 ![IMG_20210919_205633](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/6/f64623971f333319ae94d6987cb6c84a61513a55.jpeg)  
 ![IMG_20210919_205626](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/b/6b55b17d2567bbaceaad4b9a5938bbd4e2381819.jpeg)  
 ![IMG_20210919_205618](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/5/f5a96790379c1384b0d0e459df37f383fc9c019e.jpeg)  
 ![IMG_20210919_205551](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/a/baaa2a58a65bfece5a0720435d6ec076e383dd7e.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 19, 2021, 11:29pm UTC](https://community.glideapps.com/t/text-entry-needs-validation/31744/24 "2021-09-19T23:29:53Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/7/d79bd878a0a80fb5ab0395f725ed73ecd30e6f6e.jpeg)

I believe your phone entry is the 4th on that screen, I tried to imitate it so it’s image + title + text then entry, let me know if the code below works.

```auto
<pre><span><style>

div[id*='screenScrollView'] > div > :nth-of-type(4) >div >div +caption {
display: none;
}

div[id*='screenScrollView'] > div > :nth-of-type(4) >div::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;
}

```

Since this is position-specific, please change the “4” number inside the nth-of-type brackets if you ever make changes that affect that component’s position.

[Previous page](https://community.glideapps.com/t/text-entry-needs-validation/31744.md?page=1)
