Add custom button on form to generate PDF and Save As

Confluence User - 24 Sep, 2020

Hi,

I want to add a custom button on a form which when clicked will generate a PDF of that form (including the filled in data) and then open a file browser to ask me where I want to save that PDF on the file system.

Is this functionality already available?

If not, any ideas how I can do that with Joget?


Further to my questions above, when I add a button anywhere on a form and click on it, the form is submitted.

Is that expected?

I would assume that the form would be submitted only when I press on the Submit button, which is automatically added by Joget.


Thanks

pdf;form

2


24 Sep, 2020
confluenceUser
confluenceUser

Hi there,


Is this functionality already available?

On every form, at the lower right corner of the form, there's a Print button. You can then select save as PDF.


If not, any ideas how I can do that with Joget?

On Joget Marketplace, there's this: https://marketplace.joget.org/jw/web/userview/mp/mpp/_/vad?id=download_pdf_datalist_action_v1


Further to my questions above, when I add a button anywhere on a form and click on it, the form is submitted.

Is that expected?

Maybe this would help? Every time I click on my custom button the page reloads/ refreshes in joget?


24 Sep, 2020
confluenceUser
confluenceUser

Thanks Ian. The PDF generated using the "print" is badly formatted. I will look the app that you mentioned to see if it can produce better results.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print