Skip to Content
0
Aug 13, 2019 at 07:09 AM

Adobe Form conditionally bold in table

142 Views

Hello guys,

I'm trying to build a form with a table and want to bold only the last row of it. How can I do this? I found some coding snippets with initialization event where I can put some javascript code in it. I also have field in the table on which the condition is based, but unfortunately it did not work.

if ( this.BUCHVORG.rawvalue == "SUM" )
{
this.NETAMOUNT.font.weight = "bold";
this.TAXAMOUNT.font.weight = "bold";
}

I put this one on the DATA node of the table. Is it important that the column BUCHVORG is in my layout in the table? I do not want to show this column so its only in the context and not in layout. What did I wrong?

Regards

Michael