dynamic_placeholder
Project Description
Dynamic Placeholder is a lightweight Drupal module that adds rotating placeholder text to any text input field. It allows site builders to configure a list of placeholder examples (such as “Search News”, “Search Events”, or “Search Products”) that automatically cycle at a defined interval.
The module is fully configurable via an admin interface, supports custom CSS selectors to target specific inputs, and includes options such as pause-on-focus, randomized rotation, and simple transition effects. It is inspired by modern search experiences used on large consumer platforms to guide users and improve search discoverability.
Dynamic Placeholder has no external dependencies, follows Drupal coding standards, and is compatible with Drupal 10 and Drupal 11.