1 of 22

INSTALLING �THE Webform �module

2 of 22

Hello!

Hi, my name is Jacob Rockowitz.

  • I am known as jrockowitz on the web.
  • I am a Drupal developer and software architect.
  • I built and maintain the Webform module for Drupal 8.

3 of 22

1.

HOW DO YOU �INSTALL THE �WEBFORM MODULE?

4 of 22

INSTALLATION

5 of 22

2.

WHAT ARE WEBFORM SUB-MODULES?

6 of 22

the �webform �module's�sub-modules

7 of 22

RECOMMENDED sub-modules

  • Webform UI�Provides a user interface for building and maintaining webforms

  • Webform Templates�Provides starter templates that can be used to create new webforms

  • Webform Node�Provides a Webform content type which allows webforms to be integrated into a website as nodes

8 of 22

EXAMPLES sub-modules

  • Webform Examples�Provides examples of all webform elements and functionality

  • Webform Element Example�Provides an example that shows how to create a Webform element

  • Webform Example Composite�Provides an example that shows how to create a Webform composite

  • Webform Remote Post Example�Provides an example of a submission posted to a remote server

9 of 22

DEMO sub-moduleS

  • Application/Evaluation System�Demonstrates how to use the Webform module to build an application/evaluation system

  • Event Registration System�Demonstrates how to use the Webform module to build an event registration system with email reminders

10 of 22

DEVELOPMENT sub-module

  • Webform Devel �Provides development tools for the Webform module

11 of 22

Theme sub-module

  • Webform Bootstrap�Provides Webform to Bootstrap integration

12 of 22

<demo>

13 of 22

3.

HOW DO YOU MANAGE�EXTERNAL LIBRARIES?

14 of 22

The Webform module �utilizes third-party �Open Source libraries TO enhance webform elements & to provide additional functionality

15 of 22

the �webform �module's�external�libraries

16 of 22

ABOUT THE WEBFORM MODULE'S LIBRARIES

  • Libraries are installed in /libraries directory
  • Missing libraries will be loaded from a CDN
  • All libraries are optional & can be excluded
  • Webform is not using the Libraries API module

17 of 22

three ways to download EXTERNAL libraries

Generate a composer.json file

drush webform-libraries-composer

Download libraries using Drush

drush webform-libraries-download

Update composer.json file

drush webform-composer-update

18 of 22

<demo>

19 of 22

Getting ofF

Webform needs to be a feature rich �application that leverages external �widgets & solutions�https://www.computerworld.com.au/article/566298/drupal-getting-off-island-version-8/

20 of 22

EXERCISES: INStaLLing SUB-moduleS & LIBrARIES

  • Install the Webform module
  • Enable recommended sub-modules
  • Enable & review the examples
  • Download webform libraries using Drush

21 of 22

jrockowitz.com

22 of 22

THANKS!

ANY QUESTIONS?

Ralph says...