# How to use minimum & maximum value

**URL:** <https://community.glideapps.com/t/how-to-use-minimum-maximum-value/51752>\
**Category:** Ask for Help\
**Created:** [October 14, 2022, 5:00pm UTC](https://community.glideapps.com/t/how-to-use-minimum-maximum-value/51752 "2022-10-14T17:00:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcineas](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@tcineas](https://community.glideapps.com/u/tcineas)\
**Post date:** [October 14, 2022, 5:00pm UTC](https://community.glideapps.com/t/how-to-use-minimum-maximum-value/51752/1 "2022-10-14T17:00:44Z")

</div>

I thought I had figured out how to use the min & max filter and it was working before but last night I tried to use a CCS in rich text and since then the min & max are not working how they use. I deleted the CCS but it still not working properly anymore. I added the screenshot.

 ![Screen Shot 2022-10-14 at 12.50.06 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/a/2abcb1a7d95afdd11447b8e2e5a05a25c492c1f3.png)

I want the month & date to have a min value of 1 and max value of 2, but I get an error message now when the max value of 2 has been met. The year I put min 4 & max 4, I only get an error message when the max has been met. Adding a screenshot

 ![Screen Shot 2022-10-14 at 12.57.55 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/b/4b0eb953a500fbdf14631e412851ae59873dcf48.png)

How can I fix this without having to start all over again?

---

<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:** [October 14, 2022, 6:47pm UTC](https://community.glideapps.com/t/how-to-use-minimum-maximum-value/51752/2 "2022-10-14T18:47:57Z")

</div>

Those are literal values. For example, you are only allowing for January and February in your month entry. You are only allowing the year 4 in your year entry. Most of those people have been dead for 2000 years.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [October 14, 2022, 6:57pm UTC](https://community.glideapps.com/t/how-to-use-minimum-maximum-value/51752/3 "2022-10-14T18:57:43Z")

</div>

why are you making such weird limitations? what is the purpose of it?  
it looks like you wanna limit the year to 4 digits… but what you are doing is limiting it to the number 4.  
you should do 1900 to 2022 to get max 122-year-old person…  
same with months… put min 1 and max 12…  
the best way would be to show a choice component… or a calendar… much easier to choose

---

<div class="post-metadata">

**Author:** ![tcineas](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@tcineas](https://community.glideapps.com/u/tcineas)\
**Post date:** [October 15, 2022, 12:26am UTC](https://community.glideapps.com/t/how-to-use-minimum-maximum-value/51752/4 "2022-10-15T00:26:05Z")

</div>

I thought the min & max value was to limit the number of input. I see what it does now and corrected it. Thank you.

An UZO you’re right. This took care of the issue I was discussing with you on the other thread. It killed two birds with one stone.

I’m new to this app so learning a lot. Thank you guys.

Had to wait a couple of hours before allowed to respond. Guess there’s a cap on posting when you’re new.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [October 15, 2022, 12:49am UTC](https://community.glideapps.com/t/how-to-use-minimum-maximum-value/51752/5 "2022-10-15T00:49:52Z")

</div>

yes, they have an antispam algorithm… it suks when you are new and need help… but it is a great tool to make this community the best!
