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.
-
Download the Webform and Webform REST modules
-
Apply patch from this issue on Webform REST to add Webform Autocomplete Options endpoint (not needed if you are not using autocomplete fields)
-
Enable REST resources "Webform Submit", "Webform Autocomplete Options", "Webform Elements", "Webform Submission" on
/admin/config/services/rest -
Set permissions
/admin/people/permissions#module-restfor RESTful Web Services. Note: you may want to use an authorized client instead of exposing the Webform data for anonymous users. -
Create a new webform if you have not already
/admin/structure/webform -
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-webform. Example of a Next.js implementation can be found here.
Releases
Releases are published on npm: nextjs-drupal-webform
npm i nextjs-drupal-webformProject information
- Ecosystem: Webform
- Created by lauriii on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.


