Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Changing the style/color of text in view mode
Is there a way in NetSuite to style the text of a certain field on the "view" mode of a sales order? I do not see how I can include javascript on a Sales Order in "View" mode.
For example, we use a service from MaxMind called minFraud. It returns a fraud score from 0-10. I have setup a custom field called custbody_minfraud. I want to change the font size and I also want to change the background color based upon the value of the field (the color goes from a green = safe to a red = fraud). I can get the following code to work using
0