Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Data Default Value provides a super simple field widget alter that blindly goes and adds the HTML5 attribute 'data-default' to all fields it can. What you do with it in clientside javascript is up to you:
- Provide button to revert fields back to canonical field configuration specified system default value after clientside user changes
- Make one of those focus/hide, blur/reshow placeholder-like functions
- ..Ignore it and be no worse for the wear..
Project information
- Module categories: Content Display, Site Structure
- Created by texas-bronius on , updated