Forms: Create PDF after form submit

Created on 18 Oct 2019  Â·  8Comments  Â·  Source: nextcloud/forms

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

1. to develop enhancement 📊 responses & statistics integration

Most helpful comment

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

All 8 comments

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 that seems to be a different topic – please open a separate issue about that. :)

that would be a great option to have

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

@kevin147147 Please do!

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

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.

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

Was this page helpful?
0 / 5 - 0 ratings