fbpx

Gravity Forms Autofill Credit Card Fields

On some gravity forms, the credit card fields do not autofill correctly. This ruins the user experience for users who have their credit cards securely stored in their browser like google chrome and are used to easily filling out credit card fields that way.

Here is a quick fix.

Add the code below to your functions.php file. Instead of editing your functions file though, I would suggest installing the Code Snippets plugin and adding the code there. It’s easier, the code won’t get lost if you update your theme and the Snippet plugin will avoid your site brom breaking and getting the white screen of death if something is ever wrong with your code.

Here’s the code:

Shopping Cart