GithubHelp home page GithubHelp logo

jnthnclrk / gravity-forms-placeholders Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neojp/gravity-forms-placeholders

0.0 1.0 0.0 93 KB

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

JavaScript 79.80% PHP 20.20%

gravity-forms-placeholders's Introduction

=== Gravity Forms - Placeholders add-on ===
Contributors: neojp
Tags: gravityforms, gravity, forms, placeholders, html5, jquery.placeholders.js
Requires at least: 3.0
Tested up to: 3.4.1
Stable tag: 1.2.1

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.

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


== Installation ==

1. Upload all files to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in the WordPress Admin Panel
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 ==

= 1.2.1 =
* Fix IE7 member not found error

= 1.2 =
* Fix the enqueuing urls of Javascript files when using a Symlink as the plugins directory

= 1.1.1 =
* Rename variable url to jquery_placeholder_url

= 1.1 =
* Rename gf.placeholders.js.php to gf.placeholders.js
* Append a jquery.placeholder.js url as a js variable on the <head> tag instead of using php on gf.placeholders.js.php - improves performance by using static files
* Always request a cached version of jquery.placeholder-1.0.1.js
* Remove Modernizr support, use our simpler conditional - js performance improvement
* Improved input and textarea filtering, added support for new HTML5 input types, eg. email, url, tel
* Improved Javascript performance

= 1.0 =
* 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/

gravity-forms-placeholders's People

Contributors

desrosj avatar neojp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.