Allow Browser Autocomplete

Instructions

  1. Install our free Gravity Forms Code Chest plugin.
    1. Copy and paste the snippet into the JavaScript section of Code Chest for the form you wish to apply this snippet to.

Code

Filename: gpaa-allow-browser-autocomplete.js

/**
 * Gravity Perks // GP Address Autocomplete // Allow Browser Autocomplete
 * https://gravitywiz.com/documentation/gravity-forms-address-autocomplete
 *
 * Instructions:
 *     1. Install our free [Gravity Forms Code Chest](https://gravitywiz.com/gravity-forms-code-chest/) plugin.
 *     2. Copy and paste the snippet into the JavaScript section of Code Chest for the form you wish to apply this snippet to.
 */
window.gform.addFilter('gpaa_prevent_browser_autocomplete', function( preventBrowserAutocomplete, instance, formId, fieldId ) {
	return false;
});

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.