Hello Suman,
Well, In that case isNull or == " " won't work.
You have to work conversely(reverse) over here.
What you should do is, keep the Font property of all the individual fields in the table as default "Bold" in the Layout as shown below.
Now Write the Javascript code only once directly on the DATA sub form in the Initialize event as shown below.
if ( ! this.DATE.rawValue.isNull )
{
this.DOCUMENT.font.weight = "normal";
this.CREDIT.font.weight = "normal";
}
I have tested it in a test form and it works fine.