Really? That is strange. The freemarker document...
# advancedpdf
s
Really? That is strange. The freemarker documentation makes no mention of it, but then again netsuite isn’t on the latest version either. Good to know.
m
https://freemarker.apache.org/docs/dgui_template_exp.html#dgui_template_exp_comparison Both work but single
=
is officially deprecated. FYI @creece
c
may be deprecated but netsuite is behind and it works 😞
It was just a shock to me that anyone would implement that operator like that
m
I guess you haven't programmed much in BASIC
c
no sir
d
I just found this in the SuiteBuilder guide (pg 197).
tl;dr == checkbox field values are Booleans when visible and strings when hidden...
It goes on further to say you should use this if you don't know the visibility of the field... really!?
Copy code
<#if (record.checkboxfield?is_boolean && record.checkboxfield) || (record.checkboxfield?is_string &&
 record.checkboxfield== "T")>
👀 1