Checkboxes using HTML appear on Web Viewer, but dissapear when exported to PDF #1548
Replies: 3 comments 3 replies
-
Could your provide a short example of your report without external dataset. Have you tested your report on a later version because 4.6 is an older one. |
Beta Was this translation helpful? Give feedback.
-
This is probably a font issue. You need a TrueType font which supports those characters. |
Beta Was this translation helpful? Give feedback.
-
You can add unicode signs with java-functions based on your example:
But not all unicode signs will be display. Thefore it can make sense according to @hvbtup comment to use a specific symbole TrueType font. Screens of small mockup |
Beta Was this translation helpful? Give feedback.
-
Hi,
The code I use is a variable with the following code:
if(params["DisplayPurchasePrice"].value && params["DisplayPurchasePrice"].value == "Yes"){
" & # x2611;";
} else {
" & # x2612;";
}
(note: i had to put spaces in the 2 output symbols for them to appear on the forum)
for the field on the report, i have the code:
var label = "Display Purchase Price: ";
var value = vars["displayPurchasePrice"];
label.bold()+value;
When I run it for Web Viewer, a checkmark appears, but when exported to PDF, it disappears.
Any way to fix this or do it another way?
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
Beta Was this translation helpful? Give feedback.
All reactions