Gravity Forms Autocomplete (+address field)

Gravity form autocomplete (+ address field)

This plugin is a plugin for Gravity Forms that enables autocomplete fields functionality. Therefore, it suggests the possible completion of the fields where the user starts typing.Autocomplete simplifies and speeds up the form filling process and saves your users time by finding necessary data and suggestions.

Note that you can choose a suggestion source. Currently it supports multiple source types: "WordPress", "URL", "Manual" and "Address".Fill it out for free to let us know about the new source type, which will be added in the next release.

See the plugin demo here:GF autocomplete demo

How does it work?

For example, there is a form called "Test" where you will add an autocomplete field. You just put the autocomplete field on the form.

When the field will be added, double-click it to display the field's settings.Select the "Manual" setting for "Where do I get options?" and a new setting, "Enter Autocomplete Data" will appear. Let's put some data in it like the screenshot below.

Note that there is a checkbox "Allow new options to be added", ticking it allows the user to add new options to the autocomplete data in the frontend.

To save the new fields in the form settings, just press the "Update Form" button. After that, the new fields will appear in the frontend.

Note that the new field has an "Untitled" label, as this is the default field label in Gravity Forms. It can be easily changed in the field settings.Also, the form should be added to some wordpress pages like the example above, otherwise it won't show up on your website.

Where to get options?

Use this setting to set the source of options (suggestions). Note that there are several types of sources: "WordPress", "URL (json)", and "Manual". The following will introduce them one by one.

  1. The 'manual'Use options when you need to set options manually (like the example above).
  2. The 'WordPress'Options are used to use different WordPress resources such as: users, pages, posts, categories, etc.
  3. The 'url(json)'Get options (eg: value1, value2, value2, etc.) using AJAX autocomplete from a url that returns data in json format.
  4. The 'address'Use the Google Places suggestion API to get autocomplete options.

See screenshots of these options in settings.

If you select "WordPress" as the source of the option, the post title will be used for the suggestion list.Please note: Post IDs are saved in the entry data. If you want to save another post attribute (eg: post_title, post_name, etc).or save custom post fields), which can be done using a special plugin plugin. get in touch withOur Support CenterPurchase the plugin.



Also, check the JSON file for an example:

{ "1": "value1", "2": "value2", "3": "value3", "4": "value4", "5": "value5", "6": "value6", " 7": "value 7", "8": "value 8"}

By default, the suggestion list contains the following values: "value1", "value2", "value3", etc.

If you want to use keys instead ("1", "2", "3", etc.), activate the "Use JSON keys as field values" option

How to activate address autocomplete?

You need to set the suggested source to "Address".



In some cases, a Google Chrome API key may be required. In this case, please starthttp://console.developers.google.com/and add it to the settings



Make sure you enable the following APIs in Google:



Check the front-end form. Your address field should become autocomplete.

method one:

Method Two:

Thank you very much for viewing this item. If you have any questions about this project, we'd be happy to help. Also rate the plugin if you like it

Change log

Version 1.0.0 - 22 Dec 2016
### Initial release

Version 1.0.1 - 13 Jan 2017
### New feature letting the user store the value that not in the autosuggest list.  The function is applicable for a manually created autosuggest list.

Version 1.0.3 - 07 Mar 2017
### New feature letting the user to helping your users to enter their address with the Google Places suggest API.
### A lot of bugs fixed

Version 1.0.6 - 07 July 2017 
### Fixed a multiple address fields bug
### Fixed a placeholder bug, updated an autocomplete javascript
### Fixed minor bugs with address autocomplete feature
### Moved the javascript to the footer

Version 1.0.8 - 18 Aug 2017 
### Added ajax method for getting values for auto-complete field's suggestions. Now it's possible to use large data as an autocomplete field source.
### Fixed minor bugs

Version 1.0.9 - 18 Dec 2017 
### Improved json file supporting. Now it's possible to use external url to JSON-file for suggestions
### Updated js autocomplete library. The plugin has been switched to select2 library ( https://select2.org ) 
### Fixed minor bugs

Version 1.1.4 - 30 Apr 2018 
### Added multi-value mode
### Fixed a bug occurring when several auto-complete address fields are placed on the same page of the form
### Switched to CDN versions of select2 libraries
### Added new routing field types "autocomplete" 
### Fixed a bug occuring when user source type has been chosen  for the autocomplete field
### Added a little rate limiting (250ms) between ajax calls; 
### Added the search terms to the JSON request 
### Fixed minor bugs

Version 1.5.5 - 15 Dec 2018 
### Fixed bug with the placeholder option
### Fixed format for address autocomplete field; Now address number goes before the street name
### Fixed the conditional logic for auto-complete field
### Fixed the bug with the city field; it was not populated with appropriate value in address-autocomplete mode
### Fixed the bug with multiple values of autocomplete field; now entry contains all values and it's possible to edit them on Entry edit page.
### Fixed a bug related with WMPL compatibility  
### Fixed a compatibility bug with Gravity View plugin
### Fixed minor bugs

Version 1.5.9 - 5 Apr 2019
### Fixed the bug with gform_field_value filter
### Fixed a bug with l35 js array
### Fixed a bug with required state for address autocomplete field
### Fixed the compatibility bug with new GF version 2.4
### Fixed minor bugs

Version 1.6.1 - 20 Jul 2019
### Added an ability to add a new option for auto-complete sources types and fixed a bug with js
### Fixed a bug with nested forms
### Fixed a bug with the dropdown parent select2 option
### Added the autocomplete field messages to a language file 
### Improved and optimized the plugin code
### Fixed minor bugs

Version 1.6.5 - 11 Jan 2020
### Improved a function looking for matches in suggestions for the autocomplete field with the JSON data source.
### Added an ability to use a JSON key as a value for an autocomplete field when JSON is set as the autocomplete source.
### Fixed BOM symbol bug in some plugin files
### Added a feature to test the connection to given JSON URL right in edit autocomplete field interface.
### Fixed minor bugs

Version 1.6.8 - 19 Mar 2020
### Fix json bug
### Fix the bug occurring when several autocomplete fields with the same data source are added on the same page
### Fix minor bugs

Version 1.7.2 - 04 July 2020
###  Added a new two inputs (address name, address street number) for the address autocomplete mode; both input values are available in the entry data
### Added the field_use_first_char option for JSON source type. It changes the comparing method in searching for user input through JSON suggestions list.
###  Added some hooks in the plugin code: 
- gfautocomplete_field_input_value_html
- gfautocomplete_inline_js_on_page_render
- gfautocomplete_load_fields_settings
- gfautocomplete_add_custom_settings
### Fixed a bug with autocomplete field width
### Fixed minor bugs

Version 1.7.3 - 19 July 2020
###  Fixed a bug in javascript code (comma-js-bug)
### Fixed a bug with manual autocomplete field
### Added an ability to make a search in JSON keys instead of values
###  Added a new hook in the plugin code: 
- gfautocomplete_address_parts_after

Version 1.7.6 - 21 Sept 2020
###  Fixed a bug when entry value is not saved
### Added the German translation
### Added the field_min_input_len option to the field settings

Version 1.8.2 - 21 Jan 2021
### Updated JavaScript select2 library to the newest version 
### Code refactoring and integration with new select2 library
### Fixed issues with placeholder
### Fixed minor bugs

Version 1.8.3 - 29 May 2021
### Fixed a rare bug occurring with the curl module 

Version 1.8.4 - 6 June 2021
### Fixed bug: re-init google map script for the address autocomplete field if it's loaded in a form using shortcode with ajax parameter

Gravity Forms Autocomplete (+address field) [Free Download]
Gravity Forms Autocomplete (+address field) [Nulled]
WordPress » Forms

METADATA
  • Gutenberg Optimized: No
  • High Resolution: Yes
  • Compatible Browsers: IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome, Edge
  • Compatible With: Gravity Forms
  • Files Included: JavaScript JS, JavaScript JSON, HTML, CSS, PHP
  • Software Version: WordPress 5.8.x, WordPress 5.7.x, WordPress 5.6.x, WordPress 5.5.x