# Mandatory Location Parameter

**URL:** <https://community.glideapps.com/t/mandatory-location-parameter/70297>\
**Category:** Ask for Help\
**Created:** [January 30, 2024, 5:34pm UTC](https://community.glideapps.com/t/mandatory-location-parameter/70297 "2024-01-30T17:34:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhinav\_Hans](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Abhinav\_Hans](https://community.glideapps.com/u/Abhinav_Hans)\
**Post date:** [January 30, 2024, 5:34pm UTC](https://community.glideapps.com/t/mandatory-location-parameter/70297/1 "2024-01-30T17:34:48Z")

</div>

Hi Everyone,

Can anyone help me to make Location slider a mandatory field while someone marking their attendance, I have struggled with it as the form still submits without any action on it.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [January 30, 2024, 5:43pm UTC](https://community.glideapps.com/t/mandatory-location-parameter/70297/2 "2024-01-30T17:43:21Z")

</div>

> [@prohibited Hacking a Form Submit Button using CSS](https://community.glideapps.com/t/hacking-a-form-submit-button-using-css/69878):
>
> wave Hey fellow Gliders! I recently came across this post by @Himaladin, and I was so impressed that I had to create a video that walked through this hack step by step—it’s incredibly clever! Using a visibility condition, a custom class, and the :has() CSS pseudo-class, you can control whether or not users can submit a form regardless of required fields! Yes, you’ll need to be on the Business plan in order to use this hack because it requires the use of CSS, but it’s a great way to control …

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [January 30, 2024, 6:31pm UTC](https://community.glideapps.com/t/mandatory-location-parameter/70297/3 "2024-01-30T18:31:51Z")

</div>

Alternatively, you can use the Radar integration and grab the location as part of the on submit action.

---

<div class="post-metadata">

**Author:** ![Abhinav\_Hans](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Abhinav\_Hans](https://community.glideapps.com/u/Abhinav_Hans)\
**Post date:** [January 30, 2024, 7:47pm UTC](https://community.glideapps.com/t/mandatory-location-parameter/70297/4 "2024-01-30T19:47:41Z")

</div>

Yeah that is also a good option, however it will consume alot of updates if the form submission is high I believe, but its worth trying.

---

<div class="post-metadata">

**Author:** ![Abhinav\_Hans](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Abhinav\_Hans](https://community.glideapps.com/u/Abhinav_Hans)\
**Post date:** [January 30, 2024, 7:48pm UTC](https://community.glideapps.com/t/mandatory-location-parameter/70297/5 "2024-01-30T19:48:17Z")

</div>

Thats helpful, thank you nathanaelb.
