How to get the form user's country automatically?

  • Mario_Acosta
    Asked on June 17, 2024 at 6:19 PM

    Hello Jotform


    I want this COUNTRY box to be able to automatically read the location of the user who opens the form


    Is this possible to do?



    How to get the form users country automatically? Image 1 Screenshot 20

  • Afzal JotForm Support
    Replied on June 17, 2024 at 6:53 PM

    Hi Mario,

    Thanks for reaching out to Jotform Support. Unfortunately, it is not possible to autofill the country automatically using the Address field or the dropdown field. A workaround for this would be using the Get Visitor Location widget. Let me show you how:

    • In Form Builder, click on the Add Form Element menu on the left side of the page.
    • Under the Widgets tab, add the Get Visitor Location widget into your form.
    • You can select the details you want to include in the form.
    • After selecting the selection, click on Update Widget and you're done.

    How to get the form users country automatically? Image 1 Screenshot 20

    Give it a try and let us know how it goes.

 
Your Answer