# GPS has no "required" flag

**URL:** <https://community.glideapps.com/t/gps-has-no-required-flag/71509>\
**Category:** Ask for Help\
**Created:** [March 7, 2024, 6:12pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509 "2024-03-07T18:12:43Z")\
**Posts on this page:** 9\
**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 7, 2024, 6:12pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/1 "2024-03-07T18:12:43Z")

</div>

I need to ensure we get GPS co-ordinates, this was easy on the classic app as they have “required” field.

How can I do this on the new app.

I tried to add a location component  
and then a second entry field, mapped them to the same column and made the entry field mandatory. It works but now I need to hide the second field, BUT, if it is hidden then the mandatory logic is not applied  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/8/480c9f7942ce4719a8571bdcd452fb99edabc631.png)

any ideas ?

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [March 7, 2024, 6:24pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/2 "2024-03-07T18:24:50Z")

</div>

Which plan are you on? If it’s not the Business plan, then you can only use custom forms.

---

<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 7, 2024, 6:32pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/3 "2024-03-07T18:32:53Z")

</div>

This particular app is not in business, but I do have access to business plan.

What would I need to do in the business plan ? The location in business plan doesn’t have required either.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [March 7, 2024, 6:38pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/4 "2024-03-07T18:38:30Z")

</div>

You need CSS to control it, and this is only available in the Business Plan.

---

<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 8, 2024, 1:19am UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/5 "2024-03-08T01:19:39Z")

</div>

You can create a custom form and not allowing submitting until the location field is filled.

---

<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 8, 2024, 7:01pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/6 "2024-03-08T19:01:06Z")

</div>

Himaladin, I am now on the BP, would you be to point me in the direction of what CSS I need to add. I assume I am adding it via the “rich text” component

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [March 8, 2024, 8:12pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/7 "2024-03-08T20:12:38Z")

</div>

CSS is no longer written to richtext in the new app, but in the settings \> appearance section. Follow this thread you will understand

> [@Exploring the Enhanced Capabilities of Glide's Native Form](https://community.glideapps.com/t/exploring-the-enhanced-capabilities-of-glides-native-form/69876):
>
> I want to share about the additional capabilities that we can achieve with Glide’s native form. What I have tested with the help of CSS is that native forms can also be applied for validation. Create your validation in the table columns and present it through messages via the “hint” component. Add the visibility conditional and the class “prevent-submit” to these hint components. Add the following CSS code: /\*Container Form\*/ #page-root:has(.prevent-submi…

---

<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 8, 2024, 8:18pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/8 "2024-03-08T20:18:18Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [March 9, 2024, 3:37pm UTC](https://community.glideapps.com/t/gps-has-no-required-flag/71509/9 "2024-03-09T15:37:22Z")

</div>

You’re welcome
