My use case is that I want to send a certain notification message ONLY to users in the United States or Canada.
I installed the plugin and created a new hidden field on my contact form for IP Country. This field populates successfully with the country name based on the user’s IP address when the form is submitted – so far, so good.
Then in Gravity Forms for my contact form I went to Settings > Notifications and selected Edit for the notification message that I want to send only to the U.S. and Canada.
I placed a check mark in Enable conditional logic. The options for conditional logic were displayed.
Under “Send this notification if Any of the following match,” I went to the dropdown with the list of fields in my form.
I expected to find IP Country in the list of fields to use with conditional logic. It was not there. Other hidden fields are available for use with conditional logic, but not IP Country.
This prevents me from using IP Country with Conditional Logic for Notifications in Gravity Forms.
Do you have any suggestions on how to resolve this? The form is clearly collecting the IP Country information, so I do not understand why I am not able to use that information with Notifications.
Thank you for your help with this.
]]>Hello Everyone,
I am using Geolocation Detector for Gravity Forms.
the plugin field displays shortcode instead of country, city, and state like [geoip_detect2 property="country"]
I have checked code of the plugin file, It has no any code for geoip_detect2 shortcode functions
Hi
I have set this up and its working great, the only issue I’m having is that its incorrect with IPv6 IPs, I’m using ipstack for API and when I tested the sample with their website and it was correct.
Where am I going wrong?
Thanks for a great plugin!
Can you please allow for the zipcode to be captured by the ip address?
]]>Could you please add ipcontinent (Continent Code)
]]>Is it possible to include a state coding. For instance if someone is from New York, United States, can the system also include ipstate to show New York, New York, United States?
Can we pay for this feature to be included?
You can contact me directly to discuss.
]]>Good day,
It seems that the plugin isn’t displaying the hidden field correctly and isn’t pulling in the country/ip when submitted. The entry is empty.
I have installed the required GeoIP Detect Plugin.
What would the issue be for this?
On WP 4.9.8
PHP 7.2
Kind Regards
]]>I can not activate it, I get this error: PHP message: PHP Fatal error: Cannot use “self” when no class scope is active in /www/site_442/public/wp-content/plugins/geolocation-detector-for-gravity-forms/geolocation-detector-for-gravity-forms.php on line 45
Here’s what in line 45:
$max_chars = self::get_counter_script($form_id, $field_id, $field[“maxLength”]);
David, how can this be remedied?
]]>Hi,
This plugin seems to be valuable and would be great to see that it is kept up-to-date at a minimal level.
Seeing a message at the top that says “This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.” doesn’t exactly give confidence to use the plugin.
Thanks for the plugin and considering staying up to date.
]]>I have installed plugin according to screenshot instructions. The GEO IP info is not being output. All I get in Confirmation is
[geoip_detect property=”country_name”]
[geoip_detect property=”city”]
Here is a screenshot as well. https://imgur.com/a/N0lh9
Help appreciated.
Chris
]]>Is there a way we can fetch timezone from the IP using this plugin in gravity forms?
]]>Hi there.
I think there is an issue with PHP 7
if i try to activate it says
Fatal error: Cannot use “self” when no class scope is active in /public_html/xxxx.org/wp-content/plugins/geolocation-detector-for-gravity-forms/geolocation-detector-for-gravity-forms.php on line 45
That line is
if(!IS_ADMIN && !empty($field[“maxLength”]) && is_numeric($field[“maxLength”]))
$max_chars = self::get_counter_script($form_id, $field_id, $field[“maxLength”]);
cannot seem to get around this error.
Any suggestions?
Thanks
]]>