This module allows you to embed OneBlink forms into your Drupal site either as a block placed anywhere on your site or as a field added to content types. This enables site builders and editors to easily display forms built and managed within the OneBlink platform without requiring custom code.
OneBlink Form Embed lets you add OneBlink forms to your Drupal site without custom code. Place a block anywhere, or add a field to a content type so editors can choose a form on each page.
OneBlink is a platform for building online forms. You build and manage forms in OneBlink, and this module displays them on your Drupal site.
Features
There are two ways to embed a form:
- OneBlink Form block: place it in any region through Block layout, or on a single page with Layout Builder. This suits site builders putting a form in a fixed spot, such as a contact form in a sidebar.
- OneBlink form field: add it to a content type or paragraph type, so editors set the form ID while editing content. This suits sites where each page may show a different form.
Both options render forms the same way and support the same settings:
- Form ID (the only required setting).
- Optional Forms App ID and scrollable container.
- Optional redirect URLs for after the form is submitted or cancelled. If you leave these blank, the form's own settings in OneBlink are used.
- You can place several forms on the same page.
- Loads the OneBlink script through Drupal's library system, so it fits in with caching and asset handling.
Use this module when your organisation already builds forms in OneBlink and wants them on its Drupal site without editing templates or pasting embed scripts into content.
Post-Installation
Enable OneBlink Form Embed under Extend, then clear caches. Then use either or both options:
Using the block
- Go to Structure > Block layout and click Place block next to a region. You can also add the block in Layout Builder.
- Choose OneBlink Form from the OneBlink category.
- Enter your OneBlink Form ID and any optional settings, then save.
Using the field
- Go to Structure > Content types (or Paragraph types) and choose Manage fields.
- Add a field and select OneBlink form as the field type.
- When editors create or edit content, they enter the Form ID and any optional settings in the field.
The module doesn't add a separate config page, content type or text format. Settings are stored on each block or field.
Additional Requirements
- Drupal 10 or 11. No other contributed modules are needed.
- A OneBlink account with at least one published form.
- Visitors' browsers must be able to load the OneBlink Forms CDN script and Google's Material Icons font.
Recommended modules/libraries
- Layout Builder (in Drupal core) lets you place the block on individual pages.
- Paragraphs lets editors add a OneBlink form field as a component anywhere in a page's content.
Supporting this Module
This module is maintained by OneBlink. To report a bug or request a feature, contact [email protected].
Ask your assistant about OneBlink Form Embed
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.