Webform Share - Backdrop CMS - Representative image

Why should you install this module?

Webforms provide a powerful way for visitors to a Backdrop CMS website to send messages, request information or report information to site owners or anyone else the form is configured to contact.  They are highly configurable and extensible.  Each webform is part of a page (node) within the Backdrop CMS site and is therefore stored in the database with the content of the node even though it can feel like a webform is config.

If you need to deploy a webform built on one version of a site (e.g. a local development site) to another (e.g. a production or staging site) then it can be tricky. This module allows the webform config to be exported and imported as JSON.

If webforms as part of each node needs to have similar components for every similar node then this module also allows a webform to be set as the default webform for new nodes of that content type.

 

Features

  • Export webform config as a .json file
  • Import webform config as a JSON text with control over what to import and whether or not to keep existing components.
  • Set the current webform config as the default for the content type

Key contributions

  • Ported from Drupal 7 to Backdrop CMS
  • Converted the export and import to use a JSON object rather than PHP, thereby removing that security risk.
  • Improved the user experience for setting webform config as the default for the content type.