I want to make an advanced PDF printout in NetSuite. I want to print checkboxes (checked and unchecked) based on the values they have. I have no issue with the conditions, its just how to print the check box on Advanced pdf Printout?
Asked
Active
Viewed 1,170 times
1 Answers
4
The underlying library that NetSuite uses for rendering PDF files is BFO Report Generator
BFO has an "input" element which can display checkboxes. However it is only available in the Extended Edition - I am not sure which edition NetSuite licenses.
<input type="checkbox" name="Java" checked="true"/>
If you don't need the PDF clickable checkbox, but just something that looks like one other possibilities you can try are to use the unicode checkbox characters (U+2610, U+2611 etc..), style a div
like one or use a custom font.

michoel
- 3,725
- 2
- 16
- 19
-
1This is the correct answer. I've used unicode characters to display checkboxes whenever needed, since Netsuite PDF prints the checkboxes as "Yes" or "No". – Jdg50 Apr 10 '19 at 15:32
-
@Jdg50 how did you do that? did u use the input element? – 4N335 Mar 28 '21 at 09:21
-
1I believe I used a combination of if statements and the unicode characters listed above – Jdg50 Mar 29 '21 at 16:53
-
i tried using ☑ and ☑ in div, span and even p, but nothing displayed. – 4N335 Mar 31 '21 at 08:32