Installation and usage
Last updated on
20 June 2025
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
About Webform Default Fields
With this module you can easily create much of nodes with same webform fields. It can be applicable in case of job vacancies with reply form, kind of quality feedback control or whatever your mind suggests you.
Because you can create more than one webform-enabled content types, you respectively can attach different default fields for each of them.
Requirements
Depending on the version this module requires the following Webform module versions:
- Webform Default Fields 7.x-4.x is compatible with the new webform 4.x version.
- Webform Default Fields 7.x-3.x and 6.x-1.x is compatible with the older webform 3.x version.
Installation
- Install Webform module.
- Copy the entire module directory the Drupal sites/all/modules directory.
- Login as an administrator.
- Drupal 7: Enable the module in the Administration » Modules.
- Drupal 6: Enable the module in the Administer » Site Building » Modules.
Permissions
Configure user permissions in Administration » People » Permissions:
- Administer Webform Default Fields.
- Administer Webform Default Fields. Grants access to the "Webform Default Fields" tab on content types management page. Generally an administrative permission.
- Reset Webform components to Default (available in 7.x version)
- Users with roles with the "Reset Webform components to Default" permission will see the "Reset" page on all webform content.
Usage
Drupal 6.x version
- Create default fields for the webform content type:
-
- Go to admin/content/node-type/%WEBFORM_ALLOWED_TYPE%/webform-fields where %WEBFORM_ALLOWED_TYPE% is content type which allow Webform module.
- Add components to the Default Webform.
- When you create or edit some components you can see the menu of webform node with links to "E-mail" and "Form Settings" forms, to set default params.
- Create a new webform node and make sure it contains default fields you added before.
Drupal 7.x version
- Create default fields for the webform content type:
-
- Go to admin/structure/types/manage/%WEBFORM_ALLOWED_TYPE%/webform-fields where %WEBFORM_ALLOWED_TYPE% is content type which allow Webform module.
- Add components to the Default Webform.
- To set default Condirionals (Webform 4.x only), E-mails and Form Settings for this content type, use a tabs on webform sub-navigation
- Create a new %WEBFORM_ALLOWED_TYPE% node and make sure it contains default fields you added before.
- Reset existing webform to default:
-
- Go to %WEBFORM_NODE%/webform/webform-reset where %WEBFORM_NODE% is ID of node which you want to reset
- Reset components of webform implemented in "reset components" form. Check out a difference between components the curent webform and default webform. Select which components expose to reset actions (add / remove / restore).
- Reset main webform parts implemented in "global reset" form.
Support
Feel free to report bugs and propositions in our Issue Queue
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion