# Is it possible to block the user from submitting a form if it does not comply with the minimum and maximum value limits?

**URL:** <https://community.glideapps.com/t/is-it-possible-to-block-the-user-from-submitting-a-form-if-it-does-not-comply-with-the-minimum-and-maximum-value-limits/60761>\
**Category:** Ask for Help\
**Created:** [April 20, 2023, 1:50pm UTC](https://community.glideapps.com/t/is-it-possible-to-block-the-user-from-submitting-a-form-if-it-does-not-comply-with-the-minimum-and-maximum-value-limits/60761 "2023-04-20T13:50:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Lucas\_Malguy1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_malguy1/32/54607_2.png) [@Lucas\_Malguy1](https://community.glideapps.com/u/Lucas_Malguy1)\
**Post date:** [April 20, 2023, 3:27pm UTC](https://community.glideapps.com/t/is-it-possible-to-block-the-user-from-submitting-a-form-if-it-does-not-comply-with-the-minimum-and-maximum-value-limits/60761/3 "2023-04-20T15:27:08Z")

</div>

Hi Joanna,

As answered in your other post, yes you can do it by using the “text length” column if it’s a text entry or an If then else columns if its a number, and check it’s more than 14 characters.

If condition is not matched, in your button, add a notifications saying it’s more than 14 characters, otherwise, do the actions.

> Yes, max and min length for text entry only work in forms.  
> You could count the length of the text entry using a “text lengh” column.  
> Then on your button action, you set this logic:  
> IF, the data entered by user \> than your limit of character THEN show notifications “max characters X”.

[From your previous post](https://community.glideapps.com/t/number-input-that-accepts-0-left/60762)

---

_[View the full topic](https://community.glideapps.com/t/is-it-possible-to-block-the-user-from-submitting-a-form-if-it-does-not-comply-with-the-minimum-and-maximum-value-limits/60761)._
