Klevr Forms Save As PDF Throws Error/Doesn't Download
This article describe a known issue in Klevr Forms, Surveyjs Save As PDF feature.
This article describe a known issue in Klevr Forms, Surveyjs Save As PDF feature. In particular, the save as pdf button throws an error in the console and fails to download the PDF.
Causes
The cause for this issue is to do with the HTML components in the SurveyJS template. Specifically to do with <br/> tags. When you have two break tags like this example below.
html: "<br/>\n<br/>\n"
Identifying the Issue
To identify the issue, if the the Save As PDF button is not working and not downloading the PDF. Right click on the page and click inspect. Then head to the console tab. If you see a error like the image below then follow the workaround.

Impact
This will cause the Save As PDF function to stop working and you will not be able to download the PDF.
Workaround
The workaround will require you to go back to the HTML that you have written in the surveyjs template and make some changes. When writing HTML for your Surveys. Make sure when you have two break tags that you follow the example below.
html: "<br/> <br/>\n"Last updated on