[Chicago-talk] Web app design question

Richard Reina gatorreina at gmail.com
Fri Aug 30 10:37:13 PDT 2024


I have a Dancer2 app that I have had running for a while. I would like to
add the ability for a user to sign a multi-page contract and download it as
pdf.  I have created a form with the contract that the user can initial and
sign. The signature widget captures their signature and my app saves it as
svg path.

I am questioning my next steps:

Print the contract to a file inserting their initials in the appropriate
place and converting the svg path data to a png and putting it in the
signature box.

Then do some enscript -> pdf magic to make it a pdf and get it into a
public directory.

Then send the user back to a page with a download button that somehow
downloads the PDF file to their local machine. Not sure how I'll get this
part done but I think i'll figure it out.

Is this a good plan or is there an easier better way to do it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20240830/57cdb1ed/attachment.html>


More information about the Chicago-talk mailing list