PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to get the country on a hidden field

  1. Hi,

    I'm using gravity forms and the salesforce plugin for gravity.

    I would like to know if their is a way to fetch the country of the visitor using a merge tag on a hidden field like I do for the IP. I can like this transfer automatically the info on my salesforce.

    Regards

    Posted 11 years ago on Friday November 9, 2012 | Permalink
  2. David Peralty

    If you have a way to detect their country of origin through PHP, you can push it to a hidden field using our gform_pre_render hook, but there is no built-in merge tag for grabbing their country that I know of.

    Posted 11 years ago on Friday November 9, 2012 | Permalink