Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Simple Java question
I am trying to make a conditional attribute list:
<script language='JavaScript'>
if ("<%=getCurrentAttribute('item','custitemwatts')%>"!="") document.write("<tr><TD width="90" height="16" align="center" valign="middle" nowrap bgcolor="295281"><font color="#FFFFFF">Wattage <%=getCurrentAttribute('item','custitemwatts')%></font></TD></tr>");
</script>
This does not work!
I think you can see what I am trying to do - make a conditional attribute appear subject to it not being = null. I am trying to make the table grow or shrink dependent upon the number of attributeds that exist for a given item. I do not want to make a fixed size table and have blanks.