# 🆕 Text entry min/max characters!

**URL:** <https://community.glideapps.com/t/text-entry-min-max-characters/15978>\
**Category:** Ask for Help\
**Created:** [September 18, 2020, 12:00am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978 "2020-09-18T00:00:44Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![John\_Cabrera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_cabrera/32/2066_2.png) [@John\_Cabrera](https://community.glideapps.com/u/John_Cabrera)\
**Post date:** [September 18, 2020, 10:33am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/21 "2020-09-18T10:33:45Z")

</div>

Why not just leave it blank for 0? Seems to submit fine if I do that.

---

<div class="post-metadata">

**Author:** ![sardamit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sardamit/32/263_2.png) [@sardamit](https://community.glideapps.com/u/sardamit)\
**Post date:** [September 18, 2020, 10:50am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/22 "2020-09-18T10:50:53Z")

</div>

It could work fine, but it should also work fine for a blank if the minimum is 0.

If the minimum is 0, and there is an issue with blank, I would assume that there would be an issue with a min of 1 and a single character submission too.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [September 18, 2020, 1:12pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/23 "2020-09-18T13:12:42Z")

</div>

You’re right, we got the minimum wrong 😉 We’ll fix it. Thank you for noticing!

---

<div class="post-metadata">

**Author:** ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)\
**Post date:** [September 18, 2020, 11:17pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/24 "2020-09-18T23:17:50Z")

</div>

@mark is it possible to add also in others entry components?

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [September 19, 2020, 12:40am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/25 "2020-09-19T00:40:37Z")

</div>

> [@Lucas\_Pires](#):
>
> is it possible to add also in others entry components

Which ones?

---

<div class="post-metadata">

**Author:** ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)\
**Post date:** [September 19, 2020, 1:38am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/26 "2020-09-19T01:38:23Z")

</div>

Number and phone would be interesting!

Use cases:

- Limit the length for people ID number (using text component people could entry a letter also)
- Limit the length for phone numbers (in different countries we see different number of characters for phone numbers)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [September 19, 2020, 3:17am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/27 "2020-09-19T03:17:19Z")

</div>

I think for numbers you could still set a technical length by setting your range from 1000000000 to 9999999999 in the case of US phone numbers.

---

<div class="post-metadata">

**Author:** ![spencerb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spencerb/32/4486_2.png) [@spencerb](https://community.glideapps.com/u/spencerb)\
**Post date:** [September 19, 2020, 10:12pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/28 "2020-09-19T22:12:02Z")

</div>

What’s an example of how you could use this feature?

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 19, 2020, 11:57pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/29 "2020-09-19T23:57:17Z")

</div>

> [@new Text entry min/max characters!](https://community.glideapps.com/t/text-entry-min-max-characters/15978/14):
>
> zipcodes…must be 5 char exactly Student\_id…must be 6 char exactly state code…limit to 2 char emoji…limit to 1 char

> [@new Text entry min/max characters!](https://community.glideapps.com/t/text-entry-min-max-characters/15978/26):
>
> Number and phone would be interesting! Use cases: Limit the length for people ID number (using text component people could entry a letter also) Limit the length for phone numbers (in different countries we see different number of characters for phone numbers)

> [@new Text entry min/max characters!](https://community.glideapps.com/t/text-entry-min-max-characters/15978/13):
>
> I need it to limit characters for usernames, post titles, and post text. Anywhere we don’t have text wrapping, this will help display issues by limiting characters. SOOOO happy rn.

---

<div class="post-metadata">

**Author:** ![John\_Cabrera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_cabrera/32/2066_2.png) [@John\_Cabrera](https://community.glideapps.com/u/John_Cabrera)\
**Post date:** [September 20, 2020, 1:10am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/30 "2020-09-20T01:10:10Z")

</div>

Adding to @Deena’s examples…

> [@new Text entry min/max characters!](https://community.glideapps.com/t/text-entry-min-max-characters/15978/16):
>
> Probably the most familiar use case is the one that made Twitter a thing.

---

<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:** [September 20, 2020, 1:57am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/31 "2020-09-20T01:57:22Z")

</div>

I plan to use it for when students need to enter their ID numbers…has to be 5 chars exactly.

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 20, 2020, 12:03pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/32 "2020-09-20T12:03:40Z")

</div>

Error handling doesn’t work properly- doesn’t recognize when the minimum is met. I can’t use until this is fixed. No matter what minimum number is set, the field returns an error.

 ![Screen Shot 2020-09-20 at 7.55.14 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/c/ce02fcd2fb43aa267d8a57698b96f7d3e663aced.png)

 ![Screen Shot 2020-09-20 at 8.06.11 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/dc79d811268b1e670ba6388b1e069b2a31484ecf.png)

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [September 20, 2020, 12:10pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/33 "2020-09-20T12:10:16Z")

</div>

Is it possibly working on a “greater than” condition instead of greater than or equal to?

If you switch the first to 2 as the minimum and the 2nd to 12, does that fix your issue for now?

---

<div class="post-metadata">

**Author:** ![sardamit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sardamit/32/263_2.png) [@sardamit](https://community.glideapps.com/u/sardamit)\
**Post date:** [September 20, 2020, 12:16pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/34 "2020-09-20T12:16:54Z")

</div>

> [@new Text entry min/max characters!](https://community.glideapps.com/t/text-entry-min-max-characters/15978/23):
>
> You’re right, we got the minimum wrong wink We’ll fix it. Thank you for noticing!

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 20, 2020, 12:17pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/35 "2020-09-20T12:17:13Z")

</div>

Thank you for the suggestion, but the error handling is the bigger issue. If I lower it to 2 min and the user types in username “no” - it gives the user feedback that 2 characters are required. It needs to be fixed properly by Glide so we can use it without creating a bad user experience.

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 20, 2020, 12:18pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/36 "2020-09-20T12:18:20Z")

</div>

Yes, I saw that - seems like it should be fixed by now. I don’t think it’s a complicated fix and waited a long time for this to roll out.

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [September 20, 2020, 12:31pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/37 "2020-09-20T12:31:24Z")

</div>

Ah okay I didn’t realize that hint text was supplied by Glide by default (I thought it was something you added — in which case you could leave it as is even after changing the back-end condition to 2 instead of 3).

Does the change to 2 “fix” it though? If so then it does seem like it should be a simple fix for the Glide guys!

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 20, 2020, 12:43pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/38 "2020-09-20T12:43:41Z")

</div>

Nope, unfortunately no matter what min it gives the error at that number. My point is that users will possibly choose two characters. Or one character etc. At that point I have to just remove the minimum. And as you pointed out, this is such a basic thing and should be easy to fix. 🙃

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [September 20, 2020, 5:45pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/39 "2020-09-20T17:45:16Z")

</div>

Fixed.

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [September 20, 2020, 6:18pm UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/40 "2020-09-20T18:18:09Z")

</div>

🙌🏻🙌🏻🙌🏻🙌🏻

[Previous page](https://community.glideapps.com/t/text-entry-min-max-characters/15978.md?page=1)

[Next page](https://community.glideapps.com/t/text-entry-min-max-characters/15978.md?page=3)
