Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Site Studio Webform Element

Security covered Under active development 100 sites

Part of the Site ecosystem · 38 projects

This module allows Acquia Site Studio users to embed existing Webforms into their components. It provides a way to select and display Webforms within a component, offering flexibility for content editors.

This module adds a new Element to Acquia Site Studio for Component building. It allows users to select a Webform to embed into a Component. The options are derived from a list of available Webforms.

This does not create Webform Nodes or Webform Blocks and avoids most of the overhead and limitations associated with that. Webforms are lazily loaded into the Site Studio render pipeline to avoid uncacheable penalties normally associated with rendering Webforms inline or to authenticated users.

This module works very similar to Acquia Site Studio Views Element, only for Webform.

How to use

1. Enable Acquia Site Studio and Webform modules.
2. Create a new Acquia Site Studio Component.
3. Add a Webform element to the Layout Canvas.
4. Set a value with any available Webforms.

Dynamically Select Webforms

Optionally, you can add a Select field to the component form builder to
provide a token based value for the component rendering. This allows users to select from any Webform available to display on a page from a single component. Alternatively, you can select 'external data source' and set the path to '/api/cohesion/webform-list'. This requires Site Studio 7.5.0 or higher.

If you would rather use "Options from a custom function" in the Select element of a component form, enter siteStudioWebformElementList as the function name. Then add the token name of this field to the Webform element in the Layout Canvas.

Note that the option list includes all Webforms, even ones not in an 'Open' state, so choose wisely. This is so you could theoretically allow content editing of pages and select Webforms not yet available to the public.

Drupal 9–11

Ask your assistant about Site Studio Webform Element

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.2 Stable 9–11 Oct 18, 2024
1.0.1 Stable 9–11 Oct 18, 2024
1.0.0 Stable 9–11 Oct 17, 2024
1.0.x-dev Dev 9–11 Oct 17, 2024