This project is not covered by Drupal’s security advisory policy.

Embedded Form Reference Field (form_reference_field) is a Drupal module that lets you reference and embed custom forms directly within content types or entities. Easily associate forms with nodes, users, or other entities to streamline user input and form management.

Features

Provides a new field type for referencing forms defined in modules.
Allows embedding of forms in entity displays (e.g., nodes, users).
Integrates with Drupal’s Field and Entity API for flexible configuration.
Enables site builders to collect user input or trigger workflows directly from content.
Supports selection of available forms per field instance.
Use cases:

Embed contact, feedback, or registration forms in articles or user profiles.
Associate workflow or approval forms with custom entities.
Collect structured data from users without custom coding.

Post-Installation

Add the Form Reference Field to your desired content type or entity.
Configure the field to select which forms can be referenced.
When creating or editing content, select the form to embed.
The referenced form will display in the entity’s view mode.
No special configuration page is required; all setup is handled through the field UI.

Additional Requirements

Drupal 10 or higher.
No additional modules or libraries required.

Similar projects

Entity Reference: Allows referencing entities but does not natively embed forms.
Webform Entity Reference: Integrates Webforms with entity references, but this module is focused on referencing any module-defined form, not just Webforms.

Supporting this Module

Maintained by Eric Aguayo (ericmaster).
Contributions, issues, feature requests, suggestions and critics are welcome.

Feel free to suggest improvements or contribute documentation and walkthroughs!

Supporting organizations: 
Development

Project information

Releases