Quantcast
Channel: Snippets Archives - Gravity Wiz
Viewing all articles
Browse latest Browse all 196

Disable Autocomplete for Gravity Forms

$
0
0

In my experience, autocomplete is generally more helpful than harmful but there are times when it just gets in the way. For those times, use this handy snippet by @ronalfy to disable this feature.

This snippet requires that HTML5 support is activated for your Gravity Form fields. To activate HTML5 fields, visit your settings page.
enable-html5-for-gravity-forms
View this code snippet on GitHub.

How do I get started?

  1. This will work with even older versions Gravity Forms but that’s no excuse not to be running the latest version.
  2. Copy and paste the snippet into your theme’s functions.php file.
  3. Once you have installed the snippet, you’re good to go! This one’s plug and play.

If you use it and like it, let us know!

This snippet will apply to all forms and all fields. If you’d like to only apply this to specific forms and/or specific fields, let us know in the comments.

Viewing all articles
Browse latest Browse all 196

Latest Images

Trending Articles



Latest Images