Search code examples
javascripthtmlnetsuitefreemarkersuitescript2.0

Is there any way of printing Check boxes in Advanced PDF? (i mean the checkboxes itself not its value)


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?


Solution

  • 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.