This project is not covered by Drupal’s security advisory policy.
Applies configurable, JS-enhanced floating CSS labels to Drupal forms in a similar fashion as laid out here: http://jsfiddle.net/RyanWalters/z9ymd852/
There is a settings page where you can enter the form IDs you wish this to apply to, and that's generally all that's required (beyond styling customizations for your use case).
As seen in the screenshot:
- The first two items have values typed into them. Their labels are permanent affixed to the top of the input as a result.
- The third item has no value typed into it and is not focused. It works just like a placeholder.
- The fourth item is the currently-focused item, ready for typing.
CSS3 animations are used to transition the label.
Select fields are now also supported. Rather than having a floating label, their default value is replaced with their label, and then the label hidden.
Supporting organizations:
Employed me and facilitated development of the module
I now maintain the module as part of my freelance development
Project information
89 sites report using this module
- Created by replicaobscura on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
2.0.0-beta1
released 18 August 2023
Works with Drupal: ^9 || ^10
D10 compatibility
Install:
Development version: 2.x-dev updated 18 Aug 2023 at 01:02 UTC

