This module displays a webform in a popup on selected content types. Once the form is submitted, a cookie is used to hide the popup for that user, ensuring it doesn't interfere with page caching. This is useful for scenarios where you want to collect user data before allowing access to content.
A generic Drupal module that displays a popup with a Webform on node pages.
The popup is hidden after submission using a browser cookie, ensuring it does not break page caching.
Use Case: Marketing Forms need to be setup to force user to share data before they can access a node. Once a user submits the form, poup should not annoy user any more.
Features
- Popup appears only on selected node types.
- Uses any Webform.
- Popup is hidden after submission (cookie-based).
- All logic is client-side for cache-friendliness.
- Admin UI to select node types and webform. Admins can select what webforms will show on what
Post-Installation
- Enable the module and the Webform module.
- Place the "Webform Popup Block" in a visible region.
- Toggle visibility by block visibility rules by roles, content type or on a specific page.
- Configure at '/admin/config/content/webform-popup-cookie-aware' which content types and webform to use.
- The popup will show on selected node types until submitted.