Export to PDF for HTML Checkbox element

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
vicks1985
Posts: 16
Joined: Tue Apr 14, 2020

30 Sep 2020

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?

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

01 Oct 2020

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')

vicks1985
Posts: 16
Joined: Tue Apr 14, 2020

06 Oct 2020

Thank you mnikitina. It worked.

JacksonPsynC
Posts: 2
Joined: Tue Nov 17, 2020

18 Nov 2020

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

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

20 Nov 2020

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

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests