Webform contact form rendered using Next.js Webform

This library is a framework for rendering forms built using Drupal Webform module. The framework can render simple Webforms out-of-the-box. The functionality can be extended to support advanced features in Webform.

For an easy setup, we recommend using Drupal Webform REST module. Example Next.js implementation can be found here

  1. Download the Webform and Webform REST modules

  2. Apply patch from this issue on Webform REST to add Webform Autocomplete Options endpoint (not needed if you are not using autocomplete fields)

  3. Enable REST resources "Webform Submit", "Webform Autocomplete Options", "Webform Elements", "Webform Submission" on /admin/config/services/rest

  4. Set permissions /admin/people/permissions#module-rest for RESTful Web Services. Note: you may want to use an authorized client instead of exposing the Webform data for anonymous users.

  5. Create a new webform if you have not already /admin/structure/webform

  6. Render Webform in your Next.js application using this framework. This can be added to a pre-existing Next.js project with npm i nextjs-drupal-webformExample of a Next.js implementation can be found here

Releases

Releases are published on npm: nextjs-drupal-webform

npm i nextjs-drupal-webform
Supporting organizations: 
Engineering

Project information

  • Ecosystem: Webform
  • Created by lauriii on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases