# Blank spaces in required text entry field

**URL:** https://community.glideapps.com/t/blank-spaces-in-required-text-entry-field/26311
**Category:** Ask for Help
**Created:** [May 2, 2021, 8:43pm UTC](https://community.glideapps.com/t/blank-spaces-in-required-text-entry-field/26311 "2021-05-02T20:43:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Navjeet\_Chabbewal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/navjeet_chabbewal/32/10663_2.png) [@Navjeet\_Chabbewal](https://community.glideapps.com/u/Navjeet_Chabbewal)
#### Post date: [May 2, 2021, 8:43pm UTC](https://community.glideapps.com/t/blank-spaces-in-required-text-entry-field/26311/1 "2021-05-02T20:43:06Z")

</div>

I have made a text entry field in a form required, but if I type blank spaces, it is considered filled up and I am able to submit the form. Is there anyway I can restrict the form cannot be submitted if required fields have only blank spaces and if possible strip all blank spaces before first non blank character?

---

<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: [May 2, 2021, 8:47pm UTC](https://community.glideapps.com/t/blank-spaces-in-required-text-entry-field/26311/2 "2021-05-02T20:47:21Z")

</div>

you would have to create a custom form and submit button with visibility condition set if not " ".

---

<div class="post-metadata">

### Author: ![Navjeet\_Chabbewal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/navjeet_chabbewal/32/10663_2.png) [@Navjeet\_Chabbewal](https://community.glideapps.com/u/Navjeet_Chabbewal)
#### Post date: [May 5, 2021, 10:16am UTC](https://community.glideapps.com/t/blank-spaces-in-required-text-entry-field/26311/3 "2021-05-05T10:16:43Z")

</div>

Hmm is that the only possible solution? I would have hoped Glide would be smart enough when I say required and only blank spaces are provided as input, it should consider the field as empty. @glide is that a feature or a bug?

---

<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: [May 5, 2021, 6:52pm UTC](https://community.glideapps.com/t/blank-spaces-in-required-text-entry-field/26311/4 "2021-05-05T18:52:34Z")

</div>

Technically blank cell means empty and space is a character, so cell is not empty anymore… the only way is to check that cell if it contains other characters than spaces
