Change background and color of Chrome autofill
.top .search-form input:-webkit-autofill, .top .search-form input:-webkit-autofill:hover, .top .search-form input:-webkit-autofill:focus, .top .search-form input:-webkit-autofill:active { -webkit-box-shadow: 0 0 0 100px #222 inset !important; -webkit-text-fill-color:#fff!important; }
CSS, Forms | Type: CSS
Clear Input Field on Focus
Not sure why you wouldn't use a placeholder instead.
Forms | Type: Javascript
Gravity Forms Ready Classes
Add classes to GF form fields; these are the most commonly used, but look at the others also.
CSS, Forms | Type: CSS
Gravity Forms: Setting Payments Number before Termination of Subscription
A variation from the code found at the reference link, to accommodate different numbers of payments for different feeds.
eCommerce, Forms, WP/CP | Type: PHP
Kill Extra Markup on GF
When form displays "extra markup": empty p tags, etc
Forms | Type: PHP
Minimum Amount for Gravity Forms Total
Nice little code snippet from tkulow. Goes in theme's functions.php
Forms | Type: PHP
Prepopulate Gravity Forms with Registered User Info
Pre-populate form fields with info from user profile for registered, logged in users.
Forms | Type: Other
Remove ‘Add New Form’ from +New Menu
When you don't want to give users the ability to add a new form from the admin menu.
Custom Admin, Forms | Type: PHP
Remove GF ‘Add New Form’
Remove 'Add NewForm' from admin bar.
Forms | Type: PHP
Rendering a Readable Date from Start Date
$mtgdate = DateTime::createFromFormat('Ymd', $startdate)->format('F j, Y'); echo '<p class="read-more"><a href="'.$formurl.'?mtgdate='.$mtgdate.'">'.$linktext.'</a></p>';
Date/Time, Forms, PHP | Type: PHP






