webform_popup_cookie_aware
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.