# Possible to make "Location" component mandatory?

**URL:** <https://community.glideapps.com/t/possible-to-make-location-component-mandatory/27737>\
**Category:** Ask for Help\
**Created:** [June 7, 2021, 12:17pm UTC](https://community.glideapps.com/t/possible-to-make-location-component-mandatory/27737 "2021-06-07T12:17:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shiv](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/shiv/32/25831_2.png) [@Shiv](https://community.glideapps.com/u/Shiv)\
**Post date:** [June 7, 2021, 12:17pm UTC](https://community.glideapps.com/t/possible-to-make-location-component-mandatory/27737/1 "2021-06-07T12:17:02Z")

</div>

![Screen Shot 2021-06-07 at 5.41.34 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/b/ab5828f45880ec4365bc8a82278bdc0df5c61da1.png)

Is there a way to make the Location component a required or mandatory field? I am currently using this as a component within a form.

One of the ideas that I have as backup is to construct a screen and use a **button** action for submitting data, but disable it until the Location option is not enabled ( Column value not populated ).

Any other option within the form itself? Is this an option in the pro app?

Thanks in advance,  
-Shiv

---

<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:** [June 7, 2021, 12:44pm UTC](https://community.glideapps.com/t/possible-to-make-location-component-mandatory/27737/2 "2021-06-07T12:44:32Z")

</div>

> [@Beautiful Design App](https://community.glideapps.com/t/beautiful-design-app/16191/470):
>
> I had a use case this week that the rating component inside a form needs to be filled, but it can’t be marked as required. Called CSS to help with this. Hope this helps @Robert_Petitto @Jeff_Hager @Darren_Murphy. \<pre\>\<span\>\<style\> [data-test="nav-button-Submit"]{ pointer-events: none; opacity: 0.4; }

I think you can use this CSS code, visible when location is empty.
