Skip to main content

Add Button to Capture User's Current Location

Implement a button within the form that, when clicked, retrieves and stores the user's current geographic location (latitude and longitude) using the device's GPS or browser geolocation services. The captured location should be automatically filled into hidden or visible fields in the form and included in the form submission data. The system should ask for user permission to access location if required by the browser.

2 comments

Log in to comment and vote

Comments2

  • Alexander Kashev

    •

    Jun 24, 2025

    I guess some sort of location input in general, with a button to autofill from `

    navigator.geolocation`, would be useful. Question is, how to internally represent a location (Raw lat/long? some GIS lookup for points of interest / location names?).

  • Archie

    Team•

    Jun 24, 2025

    Hi there,

    Thank you for the suggestion!

    Adding a button to capture the user’s current location is a thoughtful idea, especially for use cases that rely on location-based data. Automatically filling in coordinates and including them in the submission could definitely streamline certain workflows.

    While we can’t commit to anything at this time, this is a feature we’ll keep in mind as we explore future improvements.

    Thanks again for sharing your input!

    Best,