WP Manifestindependent plugin directory
manifest / forms / tims-slightly-better-gravityforms-placeholders

Gravity Forms - Tim's Slightly Better Placeholders add-on

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

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/monkishtypist/tims-slightly-better-gravityforms-placeholders/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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: https://github.com/ninthlink/nlk-plugins/tree/master/tims-slightly-better-gravityforms-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 tsbplaceholder 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.
  4. Add additional CSS class complex to keep complex field main labels, but use sub-labels as placeholders.

Changelog

1.0

  • Built based on Gravity Forms - Placeholders add-on