Skip to content

Commit 1ca7a49

Browse files
committed
2 parents 01404ac + 9487199 commit 1ca7a49

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

app/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# Name of static pdf file
2323
pdf_file = "World_Wide_Corp_lorem.pdf"
2424

25-
web_form_template_file = "World_Wide_Corp_Form.pdf"
25+
web_form_template_file = "World_Wide_Corp_Web_Form.pdf"
2626

2727
web_form_config_file = "web-form-config.json"
2828

app/static/demo_documents/web-form-config.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

app/webforms/examples/eg001_create_instance.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -95,56 +95,56 @@ def make_web_forms_template(cls, args):
9595
tab_label="Signature",
9696
anchor_string="/SignHere/",
9797
anchor_units="pixels",
98-
anchor_x_offset="20",
99-
anchor_y_offset="10"
98+
anchor_x_offset="0",
99+
anchor_y_offset="0"
100100
)
101101
check = Checkbox(
102102
document_id="1",
103103
tab_label="Yes",
104104
anchor_string="/SMS/",
105105
anchor_units="pixels",
106-
anchor_x_offset="20",
107-
anchor_y_offset="10"
106+
anchor_x_offset="0",
107+
anchor_y_offset="0"
108108
)
109109
text1 = Text(
110110
document_id="1",
111111
tab_label="FullName",
112112
anchor_string="/FullName/",
113113
anchor_units="pixels",
114-
anchor_x_offset="20",
115-
anchor_y_offset="10"
114+
anchor_x_offset="0",
115+
anchor_y_offset="0"
116116
)
117117
text2 = Text(
118118
document_id="1",
119119
tab_label="PhoneNumber",
120120
anchor_string="/PhoneNumber/",
121121
anchor_units="pixels",
122-
anchor_x_offset="20",
123-
anchor_y_offset="10"
122+
anchor_x_offset="0",
123+
anchor_y_offset="0"
124124
)
125125
text3 = Text(
126126
document_id="1",
127127
tab_label="Company",
128128
anchor_string="/Company/",
129129
anchor_units="pixels",
130-
anchor_x_offset="20",
131-
anchor_y_offset="10"
130+
anchor_x_offset="0",
131+
anchor_y_offset="0"
132132
)
133133
text4 = Text(
134134
document_id="1",
135135
tab_label="JobTitle",
136136
anchor_string="/JobTitle/",
137137
anchor_units="pixels",
138-
anchor_x_offset="20",
139-
anchor_y_offset="10"
138+
anchor_x_offset="0",
139+
anchor_y_offset="0"
140140
)
141141
date_signed = DateSigned(
142142
document_id="1",
143143
tab_label="DateSigned",
144144
anchor_string="/Date/",
145145
anchor_units="pixels",
146-
anchor_x_offset="20",
147-
anchor_y_offset="10"
146+
anchor_x_offset="0",
147+
anchor_y_offset="0"
148148
)
149149
# Add the tabs model to the signer
150150
# The Tabs object wants arrays of the different field/tab types

0 commit comments

Comments
 (0)