You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module provides functionality for adding digital signature to the webform PDF submissions.
6
+
7
+
## How does it work
8
+
9
+
### Activating Digital Signature
10
+
11
+
1. Add the OS2forms attachment element to the form.
12
+
2. Indicate that the OS2Forms attachment requires a digital signature.
13
+
3. Add the Digital Signature Handler to the webform.
14
+
4. If the form requires an email handler, ensure the trigger is set to **...when submission is locked** in the handler’s
15
+
*Additional settings*.
16
+
17
+
### Flow Explained
18
+
19
+
1. Upon form submission, a PDF is generated, saved in the private directory, and sent to the signature service via URL.
20
+
2. The user is redirected to the signature service to provide their signature.
21
+
3. After signing, the user is redirected back to the webform solution.
22
+
4. The signed PDF is downloaded and stored in Drupal’s private directory.
23
+
5. When a submission PDF is requested (e.g., via download link or email), the signed PDF is served instead of generating
24
+
a new one on the fly.
25
+
26
+
## Settings page
27
+
28
+
URL: `admin/os2forms_digital_signature/settings`
29
+
30
+
-**Signature server URL**
31
+
32
+
The URL of the service providing digital signature. This is the example of a known service [https://signering.bellcom.dk/sign.php?](https://signering.bellcom.dk/sign.php?)
33
+
34
+
-**Hash Salt used for signature**
35
+
36
+
Must match hash salt on the signature server
37
+
38
+
-**List IPs which can download unsigned PDF submissions**
39
+
40
+
Only requests from this IP will be able to download PDF which are to be signed.
0 commit comments