function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
p_282p_282 

Dynamically change the colour

Hi

 

I have 2 custom objects (assume total fields 200) where  im pulling the data (only filled ) into PDF.

Here my requirement is,  i filled 40 fields so in PDF only 40 fields info will be available.

I have updated more 10 fields total 50 fields.

I need 10 fields data in Bold or different color in PDF.

 

Please advise the possible workaround to achieve it.

 

Thanks in Advance

 

SurekaSureka
Hi,

Try this:

<apex:outputLabel value="{!account.name}" style="color:blue"/>
<apex:outputText value="{!account.name}" style="color:blue"/>


Thanks
RockDeveloperRockDeveloper

Apply css style to outputtext or outputfield.