How do you conditionally set a display only item as bold.
I can set the HTML Form Element Attribute: style="font-weight:bold"
But I want to set conditionally. Was able to set the color conditionally with below syntax in before footer page process:
htp.prn('<script> $x("P102502_CTS025MT07").style.color= $x("P102502_HIDDEN_COLOR").value; </script>');
But cannot figure out how to set the bold.
I tried htp.prn('<script> $x("P102502_CTS025MT07").style.font-weight= bold; </script>');
Cannot find the correct syntax for this.