https://github.com/anavarre/compact_forms
Port of the compact_forms module to Drupal 8
https://github.com/anavarre/compact_forms
drupal
Last synced: about 2 months ago
JSON representation
Port of the compact_forms module to Drupal 8
- Host: GitHub
- URL: https://github.com/anavarre/compact_forms
- Owner: anavarre
- Created: 2014-06-20T15:30:49.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T14:03:35.000Z (almost 4 years ago)
- Last Synced: 2025-09-01T04:55:47.492Z (10 months ago)
- Topics: drupal
- Language: PHP
- Homepage: https://www.drupal.org/node/2232091
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.txt
- Changelog: CHANGELOG.txt
Awesome Lists containing this project
README
-- SUMMARY --
Compact Forms presents text fields for selected forms in a more compact fashion
using jQuery.
The form item/element fields are overlaid with their respective labels. When
the user focuses a field the label fades away nicely, and if the field is left
empty the label fades back in again.
By default, only the user login block is switched to compact style, but the
behavior can be added to any form by adding the corresponding CSS ids to the
Compact Forms configuration.
For a full description of the module, visit the project page:
http://drupal.org/project/compact_forms
To submit bug reports and feature suggestions, or to track changes:
http://drupal.org/project/issues/compact_forms
-- REQUIREMENTS --
* None.
-- INSTALLATION --
* Install as usual, see http://drupal.org/node/70151 for further information.
-- CONFIGURATION --
* Configure forms to display compact in Administration » Configuration »
User interface » Compact Forms.
-- CUSTOMIZATION --
* To programmatically disable the compact forms behavior on a particular form,
set the following property on the $form element in your form constructor
function or via hook_form_alter():
$form['#compact_forms'] = FALSE;
-- CONTACT --
Current maintainers:
* Daniel F. Kudwien (sun) - http://drupal.org/user/54136
Previous maintainers:
* Tom Sundström (tomsun) - http://drupal.org/user/63478
This project has been sponsored by:
* UNLEASHED MIND
Specialized in consulting and planning of Drupal powered sites, UNLEASHED
MIND offers installation, development, theming, customization, and hosting
to get you started. Visit http://www.unleashedmind.com for more information.