A simple and nice plugin to get auto country flag from user ip address on gravity form phone field. If the installation is okay, go to gravity forms dashboard. Add a phone field on your form. Open phone field and you will see to enable smart phone field checkbox.
How do I enable this functionality?
Step 1
Add a Phone field to your form.
Step 2
Open the field’s settings, navigate to the Smart Phone Field section, and check Enable Smart Phone Field Option.
Step 3
Options will open to configure. Just configure it according to your requirements and save it. And it's ready to use.