# Minimum value is not be enforced

**URL:** <https://community.glideapps.com/t/minimum-value-is-not-be-enforced/71671>\
**Category:** Ask for Help\
**Created:** [March 14, 2024, 4:21am UTC](https://community.glideapps.com/t/minimum-value-is-not-be-enforced/71671 "2024-03-14T04:21:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [March 14, 2024, 4:21am UTC](https://community.glideapps.com/t/minimum-value-is-not-be-enforced/71671/1 "2024-03-14T04:21:39Z")

</div>

I am using a container with two values (2:1)

When someone selects an item, I want them to insert a minimum quantity of 1.  
If I set the default to 1, then even if an item is not selected the quantity is set to 1  
I tried using minimum set to 1 but that is not working either  
Any ideas ?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/d/cd4c6e7504bd496a80604c0f769a9d86f6ca1aa3.png)

---

<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:** [March 14, 2024, 4:33am UTC](https://community.glideapps.com/t/minimum-value-is-not-be-enforced/71671/2 "2024-03-14T04:33:37Z")

</div>

Do you have ‘Required’ enabled for the quantity?

---

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [March 14, 2024, 1:06pm UTC](https://community.glideapps.com/t/minimum-value-is-not-be-enforced/71671/3 "2024-03-14T13:06:54Z")

</div>

No.

The issue with that is, I only need the quantity IF an item is selected. I suppose I can add the required field and then add in visibility clause for the quantity ?

---

<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:** [March 14, 2024, 1:15pm UTC](https://community.glideapps.com/t/minimum-value-is-not-be-enforced/71671/4 "2024-03-14T13:15:25Z")

</div>

Yeah, I think that’s what I would do.

---

<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:** [March 14, 2024, 11:55pm UTC](https://community.glideapps.com/t/minimum-value-is-not-be-enforced/71671/5 "2024-03-14T23:55:51Z")

</div>

Why do you have multiple items seemingly on the same row though?
