Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
paigesrossi committed Oct 15, 2024
2 parents 01404ac + 9487199 commit 1ca7a49
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion app/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Name of static pdf file
pdf_file = "World_Wide_Corp_lorem.pdf"

web_form_template_file = "World_Wide_Corp_Form.pdf"
web_form_template_file = "World_Wide_Corp_Web_Form.pdf"

web_form_config_file = "web-form-config.json"

Expand Down
2 changes: 1 addition & 1 deletion app/static/demo_documents/web-form-config.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions app/webforms/examples/eg001_create_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,56 +95,56 @@ def make_web_forms_template(cls, args):
tab_label="Signature",
anchor_string="/SignHere/",
anchor_units="pixels",
anchor_x_offset="20",
anchor_y_offset="10"
anchor_x_offset="0",
anchor_y_offset="0"
)
check = Checkbox(
document_id="1",
tab_label="Yes",
anchor_string="/SMS/",
anchor_units="pixels",
anchor_x_offset="20",
anchor_y_offset="10"
anchor_x_offset="0",
anchor_y_offset="0"
)
text1 = Text(
document_id="1",
tab_label="FullName",
anchor_string="/FullName/",
anchor_units="pixels",
anchor_x_offset="20",
anchor_y_offset="10"
anchor_x_offset="0",
anchor_y_offset="0"
)
text2 = Text(
document_id="1",
tab_label="PhoneNumber",
anchor_string="/PhoneNumber/",
anchor_units="pixels",
anchor_x_offset="20",
anchor_y_offset="10"
anchor_x_offset="0",
anchor_y_offset="0"
)
text3 = Text(
document_id="1",
tab_label="Company",
anchor_string="/Company/",
anchor_units="pixels",
anchor_x_offset="20",
anchor_y_offset="10"
anchor_x_offset="0",
anchor_y_offset="0"
)
text4 = Text(
document_id="1",
tab_label="JobTitle",
anchor_string="/JobTitle/",
anchor_units="pixels",
anchor_x_offset="20",
anchor_y_offset="10"
anchor_x_offset="0",
anchor_y_offset="0"
)
date_signed = DateSigned(
document_id="1",
tab_label="DateSigned",
anchor_string="/Date/",
anchor_units="pixels",
anchor_x_offset="20",
anchor_y_offset="10"
anchor_x_offset="0",
anchor_y_offset="0"
)
# Add the tabs model to the signer
# The Tabs object wants arrays of the different field/tab types
Expand Down

0 comments on commit 1ca7a49

Please sign in to comment.