This module hides email addresses by default and reveals them on demand using AJAX, protecting them from bots while making them accessible to users. It integrates directly with Drupal's display settings and requires no additional dependencies.
Introduction
The Email Hidden Formatter module provides a seamless solution for dynamically revealing email addresses while keeping them hidden by default. It’s particularly useful for websites that want to protect email fields from automated crawlers while ensuring a smooth user experience for legitimate visitors. Perfect for contact directories, staff listings, or user profiles.
Features
- Dynamic Email Reveal: Email addresses are hidden by default and revealed dynamically through AJAX.
- Customizable Display Options: Manage label visibility (
hidden,above, orinline) directly in the field settings. - Full Integration with Manage Display: Respects field display settings configured in Drupal’s Manage Display interface.
- Simple Setup: No additional libraries or dependencies are required.
This module is ideal for use cases where email addresses need selective visibility to improve security and user interaction.
Post-Installation
After enabling the module:
- Navigate to Manage Display for the content type containing the email field.
- Select the Email Hidden formatter for the email field.
- You can configure text link if you want
The email field will now be hidden by default, with an option for users to reveal it dynamically.
Additional Requirements
This module does not require any additional modules or external libraries. It works seamlessly with Drupal core.
Supporting this Module
Support the development of this module by contributing on Drupal.org, reporting issues, or sponsoring future features. Contributions and feedback are highly appreciated.
Community Documentation
Find more resources and tutorials about the Email Hidden Formatter module:
Feel free to share walkthroughs, suggestions, or feature requests in the module’s issue queue.
Ask your assistant about Email Hidden Formatter
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- field Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.