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
AzsharaelAzsharael 

PageBlockSectionItem Two child limit.

Hi,

 

I know that it is given in the documentation that a PageBlockSectionItem can have only two child components. However is there any work around to this? For instance if I wished to add an asterisk of a different color next to my label I cannot do so using PageBlockSectionItem.  If anyone knows of a work around it would really help.

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
jwetzlerjwetzler
wrap an outputPanel around your asterisk and your label.