Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Webform Inline Entity Form

No security coverage Under active development 1 sites

Part of the Webform ecosystem · 225 projects

This module allows you to embed an entity form directly within a webform. When the webform is submitted, the embedded entity form's data is used to create or update an entity, and a reference to that entity is stored in the webform submission. You can configure which entity type and bundle to use, and whether to always create a new entity or attempt to load and update an existing one.

This module provides an element type that can be added to a webform that embeds an entity form into the webform, saves/updates the entity with the data on form submission, and provides an entity reference as the element value in the submission.

Using the entity reference settings, you can select what type of entity and what bundle the entity should be.

You can also choose to have the element load the first available existing entity (based on your sort settings), optionally also only those owned by the user submitting the form.

Note: users must have access/permissions to create and update entities or the element will not work.

Configuration

Add element of type "Inline entity form".

Enter title.

If you want to create a new entity each submission, change "Load existing entity if found" to "No".

If you want to load the entity for that user (e.g. a node created by the user, a Profile entity owned by the user), then leave "Owned by logged in user" as "Yes."

Change the form mode if you would like. You will need to have saved the element first to load the form modes for the selected entity type.

Select the entity type under "Type of item to reference".

Select the reference method "Default".

Select the bundle type, e.g. content type.

Select sort settings if there would be multiple existing entities you want to load; it will pick the first one, so you can sort accordingly.

Form will then show the entity form and load an existing entity if set up and available.

Ask your assistant about Webform Inline Entity Form

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 9–10 May 24, 2023