Skip to content

Adds HTML5 placeholder support to Gravity Forms' fields with a Javascript fallback. Javascript & jQuery are required.

Notifications You must be signed in to change notification settings

desrosj/gravity-forms-placeholders

 
 

Repository files navigation

=== Gravity Forms - Placeholders add-on ===
Contributors: neojp
Tags: gravityforms, placeholders, html5
Tested up to: 3

Adds HTML5 placeholder support to Gravity Forms' fields with a Javascript fallback. Javascript & jQuery are required.

== Description ==

Adds HTML5 placeholder support to the Gravity Forms plugin copying the Field's label as the placeholder and hidding it. Javascript fallback is used for old browsers that don't support the HTML5 placeholder attribute.

== Installation ==

1. Upload all files to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Add the CSS class `gplaceholder` to text fields or textareas as needed, you can also add it to the form itself to enable this feature to all fields within it.

== Changelog ==

= 0.1 =
* Initial version.

== GitHub source code ==

You can find the source code at the GitHub repository, forks and pull requests are welcomed.
http://github.com/neojp/gravity-forms-placeholders/

About

Adds HTML5 placeholder support to Gravity Forms' fields with a Javascript fallback. Javascript & jQuery are required.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.9%
  • PHP 45.1%