Siebel - dynamically change control properties
We are using Siebel 8.1.1.7 SIA [21238]. I am looking for a way to dynamically change the color of a text field OR it's label. (Example... If field is blank, make label RED. OR, if field X = "Male", make value in field Y BLUE)
Anyone know a way to do this?
I was trying the browser script route but doesn't seem to work. I am trying it on a basic Contact Form Applet (Applet Form Grid Layout). Here is sample script I tried.
function Applet_ChangeRecord ()
{
var oBusComp = this.BusComp();
var value = oBusComp.GetFieldValue("Marital Status");
if (value == "Unknown")
{
var label = this.FindControl("Marital Status");