# \#sanitize\_text\_field

**URL:** https://community.gravityforms.com/tag/sanitize-text-field/2673.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Injecting Geolocate Lat and Long from address into custom post field](https://community.gravityforms.com/t/injecting-geolocate-lat-and-long-from-address-into-custom-post-field/16176)

<div class="topic-metadata">

**Author:** [@harry](https://community.gravityforms.com/u/harry)\
**Replies:** 0\
**Last updated:** [November 2, 2023, 12:34am UTC](https://community.gravityforms.com/t/injecting-geolocate-lat-and-long-from-address-into-custom-post-field/16176 "2023-11-02T00:34:21Z")

</div>

So far, all I’ve managed to do is replace the hidden custom post field with the text I want. I’m using Geolocation plugin, but all that does is stick latlong in the entires page. Found this, but it doesn’t seem so w…
