Page 1 of 1

Export to PDF for HTML Checkbox element

Posted: 30 Sep 2020
by vicks1985
I am having couple of HTML checkbox elements on the edit form. Once user selects the checkbox and enters values in all fields, form needs to be exported to pdf document. All values are copied over except the checkboxes and the checked checkbox. Is it possible to copy over these fields too?

Re: Export to PDF for HTML Checkbox element

Posted: 01 Oct 2020
by mnikitina
Hello vicks1985,

This is a known issue.

You can either redirect users to export the display form or create a custom button for exporting from to PDF that replaces checkbox with the checkmark using this code:

Code: Select all

$('input[type=checkbox]:checked').replaceWith( '<a style="font-weight: bold;">v</a>' )
fd.saveAsPDF('invoice.pdf')

Re: Export to PDF for HTML Checkbox element

Posted: 06 Oct 2020
by vicks1985
Thank you mnikitina. It worked.

Export to PDF for HTML Checkbox element

Posted: 18 Nov 2020
by JacksonPsynC
Hello Is there some information on internet how to export the content of a record to user template in format PDF or WORD? It will be nice to have some howto that show how to export a record for example xml or word into a user template. Any hints will be appreciated. mpol_ch

Re: Export to PDF for HTML Checkbox element

Posted: 20 Nov 2020
by mnikitina
Hello Jackson,

You can export the form designed with Forms Designer to PDF. Please find the instructions here:
https://spform.com/printing/printing-sh ... orting-pdf