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
Suresh Kumar 34Suresh Kumar 34 

how to display the value in vf page when checkbox is checked in accounts.

HiGuys,

I have a checkbox in accounts called "rating".

I have output text in vf page to display the rating.

when the checkbox is checked in account i want to display the rating in vf page.

please help me to achieve this.

Thanks,
Suresh kumar.
 
Head In CloudHead In Cloud
You need to use inputCheckbox tag to display the value of the checkbox field on vf page
Like this:
<apex:inputCheckbox value="{!Account.rating__c}" disabled = "true" />

Please mark as best answer if it solved your problem. Thanks
JeffreyStevensJeffreyStevens
No - I think you'll want...
 
<apex:outputText value="Account has Rating" rendered="{!Account.Rating__c}" />