-
Notifications
You must be signed in to change notification settings - Fork 302
Expand file tree
/
Copy pathpdf-fill-signature.yml
More file actions
55 lines (55 loc) · 1.18 KB
/
pdf-fill-signature.yml
File metadata and controls
55 lines (55 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
metadata:
title: PDF fill-in with signature
documentation: "https://docassemble.org/docs/documents.html#signature"
example start: 6
example end: 7
---
objects:
- user: Individual
- friend: Individual
---
mandatory: True
code: |
need(user.name.first,
friend.name.first,
prized_collection,
final_screen)
---
question: |
What is your name?
fields:
- First Name: user.name.first
- Last Name: user.name.last
---
question: |
What is your best friend's name?
fields:
- First Name: friend.name.first
- Last Name: friend.name.last
---
question: What objects do you collect?
fields:
- Collection: prized_collection
hint: baseball cards, fine china
---
question: |
Please sign your name below.
signature: user.signature
under: |
${ user }
---
sets: final_screen
question: Congratulations!
subquestion: |
You have now transferred everything
you own to ${ friend }.
attachment:
- name: Transfer of Ownership
filename: Transfer-of-Ownership
pdf template file: |
Transfer-of-Ownership.pdf
fields:
- "grantor": ${ user }
- "grantee": ${ friend }
- "collection": ${ prized_collection }
- "signature": ${ user.signature }