Title: Gravity Forms &#8211; Placeholders add-on
Author: neojp
Published: <strong>2012 年 2 月 3 日</strong>
Last modified: 2012 年 7 月 2 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/gravity-forms-placeholders.svg)

# Gravity Forms – Placeholders add-on

 作者：[neojp](https://profiles.wordpress.org/neojp/)

[下载](https://downloads.wordpress.org/plugin/gravity-forms-placeholders.1.2.1.zip)

 * [详情](https://cn.wordpress.org/plugins/gravity-forms-placeholders/#description)
 * [评价](https://cn.wordpress.org/plugins/gravity-forms-placeholders/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gravity-forms-placeholders/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gravity-forms-placeholders/#developers)

 [支持](https://wordpress.org/support/plugin/gravity-forms-placeholders/)

## 描述

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/

### 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/

## 安装

 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.

## 常见问题

  Installation Instructions

 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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Gravity Forms – Placeholders add-on」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ neojp ](https://profiles.wordpress.org/neojp/)

[帮助将「Gravity Forms – Placeholders add-on」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-placeholders)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gravity-forms-placeholders/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/gravity-forms-placeholders/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/gravity-forms-placeholders/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gravity-forms-placeholders/)。

## 更新日志

#### 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 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.

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**9 年前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/gravity-forms-placeholders/)
 * 标签
 * [forms](https://cn.wordpress.org/plugins/tags/forms/)[gravity](https://cn.wordpress.org/plugins/tags/gravity/)
   [GravityForms](https://cn.wordpress.org/plugins/tags/gravityforms/)[HTML5](https://cn.wordpress.org/plugins/tags/html5/)
   [placeholders](https://cn.wordpress.org/plugins/tags/placeholders/)
 *  [高级视图](https://cn.wordpress.org/plugins/gravity-forms-placeholders/advanced/)

## 评级

 4.9 星（最高 5 星）。

 *  [  21 条 5 星评价     ](https://wordpress.org/support/plugin/gravity-forms-placeholders/reviews/?filter=5)
 *  [  3 条 4 星评价     ](https://wordpress.org/support/plugin/gravity-forms-placeholders/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/gravity-forms-placeholders/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/gravity-forms-placeholders/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/gravity-forms-placeholders/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gravity-forms-placeholders/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gravity-forms-placeholders/reviews/)

## 贡献者

 *   [ neojp ](https://profiles.wordpress.org/neojp/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gravity-forms-placeholders/)