# Near map, then they can Submit their presence

**URL:** https://community.glideapps.com/t/near-map-then-they-can-submit-their-presence/34172
**Category:** Ask for Help
**Created:** [November 7, 2021, 4:26pm UTC](https://community.glideapps.com/t/near-map-then-they-can-submit-their-presence/34172 "2021-11-07T16:26:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hendrakei](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hendrakei/32/34058_2.png) [@hendrakei](https://community.glideapps.com/u/hendrakei)
#### Post date: [November 7, 2021, 4:26pm UTC](https://community.glideapps.com/t/near-map-then-they-can-submit-their-presence/34172/1 "2021-11-07T16:26:19Z")

</div>

Hello Gliders,  
I’m trying to make an app like attendance, and need a condition like this:  
If the user’s is near the location that we already Specified, then he can submit his presence (click the submit form).

I’ve tried to use my current location, but this feature doesn’t have a validation if the participant was close to the location, I need conditions if they are near the location, then they can submit

Is this possibble with Glide?  
Need help from Gliders here  
Any comment are really appreciate.  
Thank you.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [November 7, 2021, 4:42pm UTC](https://community.glideapps.com/t/near-map-then-they-can-submit-their-presence/34172/2 "2021-11-07T16:42:07Z")

</div>

You can create a Distance column and then set a visibility condition to show the button when the distance is below whichever threshold you choose.

---

<div class="post-metadata">

### Author: ![hendrakei](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hendrakei/32/34058_2.png) [@hendrakei](https://community.glideapps.com/u/hendrakei)
#### Post date: [December 8, 2021, 8:49am UTC](https://community.glideapps.com/t/near-map-then-they-can-submit-their-presence/34172/3 "2021-12-08T08:49:05Z")

</div>

Hi Jeff, so sorry for this late reply.  
anyway, can u share the image how it works?  
i tried several times but it doesnt work for me, probably there’s something that i missed from what you explained.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [December 8, 2021, 10:47am UTC](https://community.glideapps.com/t/near-map-then-they-can-submit-their-presence/34172/4 "2021-12-08T10:47:29Z")

</div>

What have you tried? On the table of the screen that contains your form button, you should have a column with an address or coordinates, and then a distance column that calculated the user’s distance from that address or coordinates. Then you can set a condition on the form button to only show when the distance is less than a certain number.

---

<div class="post-metadata">

### Author: ![SophieHassinger](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sophiehassinger/32/36364_2.png) [@SophieHassinger](https://community.glideapps.com/u/SophieHassinger)
#### Post date: [December 21, 2021, 11:44am UTC](https://community.glideapps.com/t/near-map-then-they-can-submit-their-presence/34172/5 "2021-12-21T11:44:38Z")

</div>

I would be super interesting in finding out about this as well.

@Jeff_Hager would you be able to share how this is done?

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [December 21, 2021, 1:22pm UTC](https://community.glideapps.com/t/near-map-then-they-can-submit-their-presence/34172/6 "2021-12-21T13:22:04Z")

</div>

> [@Location validation](https://community.glideapps.com/t/location-validation/36184/4):
>
> Glide already has a column to calculate distance for you live and in real time. You don’t have to do the math yourself. Just make sure you have a column with an address or a set of coordinates of the client. Then add a Distance column to compare that’s address/coordinates to your current location. Then you can set filters or visibility (such a visibility of a check-in button, based on the user’s distance to that location. Glide’s solution is much simpler and doesn’t require you to use the l…
