# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://community.glideapps.com/t/possible-to-make-location-component-mandatory/27737)._
