Content-Length: 233175 | pFad | http://github.com/documenso/documenso/issues/1524

8F Signature placeholder field · Issue #1524 · documenso/documenso · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature placeholder field #1524

Open
5 of 6 tasks
nirkons opened this issue Dec 10, 2024 · 3 comments
Open
5 of 6 tasks

Signature placeholder field #1524

nirkons opened this issue Dec 10, 2024 · 3 comments
Labels
status: triage Scope to be determined

Comments

@nirkons
Copy link

nirkons commented Dec 10, 2024

Feature Description

Add an option to use a placeholder for signature placement.

Use Case

I am preparing a dynamic PDF document with order details, since people purchase various amounts of products, the placement of the signature is dynamic, it could be on any page in the document after the order details.

Proposed Solution

Allow to use {{signature}} (or {{documenso_signature_1}} / {{documenso_signature_2}} etc..)

Alternatives (optional)

as far as I can see, the only way is to use figure out with code where my {{signature}} is place within the PDF and then use the documenso API to add a field on that location, but its complicated.

Additional Context

No response

Please check the boxes that apply to this feature request.

  • I have searched the existing feature requests to make sure this is not a duplicate.
  • I have provided a detailed description of the requested feature.
  • I have explained the use case or scenario for this feature.
  • I have included any relevant technical details or design suggestions.
  • I understand that this is a suggestion and that there is no guarantee of implementation.
  • I want to work on creating a PR for this issue if approved
@github-actions github-actions bot added the status: triage Scope to be determined label Dec 10, 2024
Copy link

Thank you for opening your first issue and for being a part of the open signing revolution!

One of our team members will review it and get back to you as soon as it possible 💚

Meanwhile, please feel free to hop into our community in Discord

@daKmoR
Copy link

daKmoR commented Dec 11, 2024

We are in the same boat - generating large dynamic 60+ page documents with 10+ signature fields for 2+ signers.

Doing this by hand if we automatically generate the document is not really maintainable. We also can't use a template as the content may be different every time so the the signature position will be different as well.

We are currently experimenting with the following workflow

  1. Generate HTML
  2. Use a special 1x1px transparent image, scale it to the signature size for every signature
  3. Convert HTML -> PDF using puppeteer
  4. Analyse PDF to find all image => if image === same as the special 1x1px image => remember page + coordinates + size
  5. Use Documenso API to add signature fields at the gathered locations

I'm hopeful this will work - we are pretty close to a POC.
Later we could have multiple different special images - one for each signer... so you could add 3 signature fields for Peter and 3 signature fields for Sandra.

And ultimately it would be nice if documenso could handle this directly - e.g. add a special transparent image and you got yourself a sign field.

@daKmoR
Copy link

daKmoR commented Dec 16, 2024

so that works quite nice 💪 e.g. drop a simple image in your html and you can later find it's location and then use it to generate sign fields for documenso 🎉

it works so well we decided to open source it
https://www.npmjs.com/package/@finum/html-to-pdf-to-sign

testing it would be appreciated 🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage Scope to be determined
Projects
None yet
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/documenso/documenso/issues/1524

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy