This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Placehold (Gravity Forms)

Description

This plugin adds a placeholder field into your Gravity Forms input and displays it as a proper HTML5 placeholder attribute without JavaScript (yaay!)

I took code from this article from wpbeginner.com and optimized it. Applause to them.

Installation

  1. Upload placehold-gravity-forms.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done. Check out your Forms in Gravity Forms.

FAQ

Do I need to implement jQuery somewhere?

No. This plugin works fine without adding jQuery to your theme.

Contributors & Developers

“Placehold (Gravity Forms)” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2

Added support for textarea

1.1.2

Tagged wrong version, sorry

1.1.1

HTML entities converted correctly

1.1

Fixed that the generated input had an html wrapper

1.0

Init