This project is not covered by Drupal’s security advisory policy.
Adds an "onclick" attribute to link fields. The attribute is configurable on a per field basis (from the field widget settings form).
Usage
- Download and install the module as usual.
- Enable the onclick attribute by editing a link field from the "Manage Fields" page of your content type (or any entity bundle type for that matter).
- Visit the add/edit page for your content type and behold your onclick attribute field!
Warning
Giving users access to run any javascript they want from the onclick attribute may not be the most secure thing in some cases. Use sparingly and with caution!
Dependencies
- Link module (version 7.x-1.3 or higher).
Supporting organizations:
Sponsored Development
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content display, Site structure, Developer tools
8 sites report using this module
- Created by drclaw on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

