When your website means business.

Snippets: Forms

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

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

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

Restore Gravity Forms Embed Button on TinyMCE»

Add to theme functions file. Displays on every WYSIWYG field /*****Restore Gravity Forms Embed Button on TinyMCE*********/ add_filter( 'gform_display_add_form_button', '__return_true' ); More examples on GF Docs
Forms, TinyMCE | Type: PHP

Menu
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept
Cookies Notice