Can someone help me troubleshoot a custom transact...
# suitescript
n
Can someone help me troubleshoot a custom transaction body field. I have it set to inline html and the default value is set to below. So the way it should work is when the “custbodycustbody_web_portal_chkbx” is checked then display the alert, when it is not checked show no alert. however it is always showing the alert CASE WHEN {custbodycustbody_web_portal_chkbx}!=‘OK’ THEN ’<table width=500 height=40 border=0 bgcolor=yellow cellpadding=8><tr><td width=500><span font-size: 60px; color:black; style:bold;“><font color=black><b>Please Submit Invoice via Web portal! Do not submit!</b></font></span></td></tr></table>‘ELSE ‘’ END
b
Your badly named checkbox should be compared to the string 'T'
🤣 2
j
yeah I stopped reading at
custbodycustbody
😬 1
also shouldn’t it be
<>
instead of
!=
?