Install
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.zipNo 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
- Upload all files to the
/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in the WordPress Admin Panel
- Add the CSS class
tsbplaceholderto text fields or textareas as needed, you can also add it to the form itself to enable this feature to all fields within it. - Add additional CSS class
complexto keep complex field main labels, but use sub-labels as placeholders.
Changelog
1.0
- Built based on
Gravity Forms - Placeholders add-on