forms icon indicating copy to clipboard operation
forms copied to clipboard

Create PDF after form submit

Open jakobroehrl opened this issue 5 years ago • 10 comments

It would be nice if forms could create a PDF after each submit. This PDF should contain the entered data. With that, it's easy to ask for declaration of consent or and store the answers automatically

jakobroehrl avatar Oct 18 '19 18:10 jakobroehrl

Similarly, is there any way to alter the onSubmit action or event, in order to call custom functionality or redirect users to a different URL?

Doesn't seem any submit handlers are documented or exposed to consumers?

adamduncan avatar Apr 16 '20 09:04 adamduncan

@adamduncan that seems to be a different topic – please open a separate issue about that. :)

jancborchardt avatar May 11 '20 17:05 jancborchardt

that would be a great option to have

NoxInmortus avatar Jun 16 '20 17:06 NoxInmortus

Is somebody working on PDF export? Otherwise i'm thinking about implementing it. With tcpdf for example.

kevin147147 avatar Aug 09 '20 17:08 kevin147147

@kevin147147 Please do!

NoxInmortus avatar Aug 09 '20 17:08 NoxInmortus

@kevin147147 cool, feel free to go ahead! And ask any questions if you need help. :)

jancborchardt avatar Aug 11 '20 10:08 jancborchardt

It would also be nice to be able to create a blank PDF of the form, with all answer options.

This would allow for offline completion and post-data entry online.

ei8fdb avatar Oct 27 '20 19:10 ei8fdb

Good idea! A solution to convert templates (e.g. odt, docx) to PDF would also be great. I was thinking of something like https://carbone.io/ or https://github.com/PHPOffice/PHPWord

089 avatar Nov 07 '20 09:11 089

Hey there. Are there any plans to implement this feature since the issue is stale since >2 years? It would be very useful, our small company f.e. is using Nextcloud forms for an event registration and we would love to have a way to automatically put the form data into some ODT or PDF template which users then can download. LibreOffice has this form letter feature which allows to do it somehow but unfortunately CollaboraOnline isn't capable of doing it and even if it would it's still a manual process and annoying. :disappointed:

pippcat avatar Feb 06 '23 08:02 pippcat

Hello,

My users are also complaining about this CSV export and they would like to have the offer to have a PDF export with the graphs inside like it's presented in the form result page.

Thanks ! Nico

nicovd737 avatar Oct 27 '23 06:10 nicovd737