Skip to content

Webform Node Configuration

Santam Chakraborty edited this page Jul 12, 2023 · 6 revisions

The Webform node is a content type that allows the display of a given webform. We will use this content type to ensure that patients belonging to a specific project only can see the questionnaire and answer the same. The following is the configuration for the same.

Edit tab

We do not display author name and publication date / time.

Manage fields

A new field called "Project Name" is created. A single project name can be selected for a given content. The body field is not deleted but will be disabled when the form is displayed. This field references to the vocabulary for projects created for Permission By Term.

image

Manage Display

For the full content we will display only the form. The body field and the Project name field will not be displayed. image

Manage Permissions

We would restrict only Project Managers to create these content type. They can also delete and edit their own created content. image

Please see configuration file https://github.com/drsantam/TMC-PROM/blob/96f373b821c93c6f5eca79589d09a76c70b452fa/Configuration%20Files%20/webform-node-configuration.yml

Clone this wiki locally