# 🆕 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:** 1

<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 18, 2020, 12:00am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/1 "2020-09-18T00:00:44Z")

</div>

Is this another new (unannounced) release?!

 ![Screen Shot 2020-09-17 at 7.59.42 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/2/2133c036be1e5f1c07e619c9ebf6ca085c14329c.png)

---

<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 18, 2020, 12:02am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/2 "2020-09-18T00:02:41Z")

</div>

Just saw this today, so excited!!! We were just talking about this @John_Cabrera!

> [@Character limit on Text Entry](https://community.glideapps.com/t/character-limit-on-text-entry/3169/16):
>
> Yeah, that was my feature request from the first week the feature request app went live. sigh. My gut tells me that despite so many exciting new features coming before the end of the year this isn’t one of them, because character limiting is something more common in larger social products. And from the recent messaging in the pricing threads, I realized there is heavy focus on private enterprise apps atm which don’t often need character limiting (it’s more common to limit strangers). I’ve just …

---

<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, 12:04am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/3 "2020-09-18T00:04:49Z")

</div>

@david, @Mark, @JackVaughan I’m sobbing 😭 Thank you!!!

---

<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, 12:09am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/4 "2020-09-18T00:09:48Z")

</div>

I’m glad we finally got to this one, @John_Cabrera. Sorry for making you wait this long 🙂

---

<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, 12:11am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/5 "2020-09-18T00:11:09Z")

</div>

Even in 2023, when you’re rolling out your AR components, this will ALWAYS be my favorite new feature.

---

<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 18, 2020, 12:11am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/6 "2020-09-18T00:11:36Z")

</div>

We’re on a roll today.

---

<div class="post-metadata">

**Author:** ![Pablo\_books](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pablo_books/32/2110_2.png) [@Pablo\_books](https://community.glideapps.com/u/Pablo_books)\
**Post date:** [September 18, 2020, 12:13am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/7 "2020-09-18T00:13:35Z")

</div>

The one day I’m actually active on this forum is coincidentally the same day Glide releases 1000 new features. Glad to be here 🙂

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [September 18, 2020, 12:13am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/8 "2020-09-18T00:13:59Z")

</div>

@John_Cabrera  
Why is that? (I’m curious)

---

<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 18, 2020, 12:15am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/9 "2020-09-18T00:15:10Z")

</div>

Glad to have you!

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [September 18, 2020, 12:15am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/10 "2020-09-18T00:15:43Z")

</div>

Stick around more often! But not too often or we’re going to have trouble keeping up with so many releases if you show up every day 😉

---

<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, 12:19am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/11 "2020-09-18T00:19:11Z")

</div>

Because selfishly, the app I’ve been developing on Glide this year has desperately needed it. And doesn’t need AR. And I thought that would be a snarky, hyperbolic way of saying that. 😉

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [September 18, 2020, 12:27am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/12 "2020-09-18T00:27:49Z")

</div>

Makes sense 🙂

Sometimes with feature releases I miss use cases, either provided in the opening topic or in the comments.

Admittedly I lack imagination here (though the release is nice for sure!).

**Use cases min length**  
Make mandatory  
Min length may be a validation method (various ID strings/numbers, etc.)

**Use cases max length**  
Improve display of entered text (choice components, headlines, etc.)

---

<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 18, 2020, 12:29am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/13 "2020-09-18T00:29:28Z")

</div>

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:** ![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 18, 2020, 12:30am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/14 "2020-09-18T00:30:29Z")

</div>

- zipcodes…must be 5 char exactly
- Student\_id…must be 6 char exactly
- state code…limit to 2 char
- emoji…limit to 1 char

---

<div class="post-metadata">

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

</div>



---

<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, 1:58am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/16 "2020-09-18T01:58:59Z")

</div>

Probably the most familiar use case is the one that made Twitter a thing.

---

<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, 2:01am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/17 "2020-09-18T02:01:03Z")

</div>

Oh yeah, usernames for sure. Gone are the days of someone choosing a username like “a”.

---

<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, 5:01am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/18 "2020-09-18T05:01:30Z")

</div>

@Mark

When I have an optional field with min length 0, I am not able to submit the form with this field blank.  
I have to, therefore, set the min length to -1 to make it work.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/6/68ab1401c6987c29a14a9e58921f7f6e20603a36.png)

---

<div class="post-metadata">

**Author:** ![Pratik\_Shah](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pratik_shah/32/12416_2.png) [@Pratik\_Shah](https://community.glideapps.com/u/Pratik_Shah)\
**Post date:** [September 18, 2020, 6:36am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/19 "2020-09-18T06:36:37Z")

</div>

Good observation

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [September 18, 2020, 9:40am UTC](https://community.glideapps.com/t/text-entry-min-max-characters/15978/20 "2020-09-18T09:40:51Z")

</div>

@david @Mark So. Just to add the icing to the cake 🧁. Why not “throw in” **RegEx** support for text fields? Just a simple, optional text value associated with a text field to hold the RegEx string. This would then be checked for match just like min / max. Then we could address all sorts of field requirements e.g. serial numbers in a specific format, post (zip) codes, even number of decimal places (often required in clinical forms). Go on … you’re on a roll!

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