Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We have a scenario where someone completing a form needs to retain a copy of the details for their records.
The form is submitted securely (through a workflow we have built). It is not appropriate for a copy of the data to be emailed back to the person completing the form, due to the type of data contained.
I was thinking perhaps a PDF (or other) could be generated locally when the form is submitted, which can then be saved by the user on their machine.
Has anyone ever done anything like that before?
I'm wondering if this jsPdf library could perhaps be of any use? https://parall.ax/products/jspdf
I'm thinking that when the person hits the submit button you create the PDF and either attach is somewhere on the page where it makes sense (requires ajax submitting) so the user can click the link and manually download the receipt or you do a prompt somehow...could this be a way of achieving what you want?
Otherwise you can probably also hook into a .net library, which can generate the PDF for you if you don't submit the form using ajax for instance.
Thanks Jan and sorry for delayed response.
I'll take a look at the solution suggested above.
Do you have any ideas about the best way to do PDF export of forms records for Umbraco 10?
Still, Js library would be the case?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted