Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove html form elements when exported into PDF #1325

Closed
nkdweb opened this issue Jun 13, 2017 · 1 comment
Closed

How to remove html form elements when exported into PDF #1325

nkdweb opened this issue Jun 13, 2017 · 1 comment

Comments

@nkdweb
Copy link

nkdweb commented Jun 13, 2017

Hi,

I have sample webpage with the following elements.
Static HTML text
Form Elements
C3 bar chart
UI Grid Table
It is an angularjs application, using jspdf to export the page into pdf. Please refer issue for more information.

Here when i try to export PDF, it export the exact web page html content as PDF. I want to configure / hide the form elements like text box, text area and show only the user input content in form elements to the exported PDF. Is this possible using jspdf plugin. Please advice me on this.

@Uzlopak
Copy link
Collaborator

Uzlopak commented Aug 1, 2017

By using which method?

fromHTML you could use elementHandlers and with the canvas method you could use a custom css file to "transform" the fields to look like text

@Uzlopak Uzlopak closed this as completed Feb 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants