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
AshesAshes 

How do we develop a dynamic checkboxes?

How do we develop a dynamic checkboxes?
Cory CowgillCory Cowgill

Not sure what you mean by dynamic checkboxes. I assume you mean you want the checkbox to populate based on record values in DB or values in a controller.


You can use <apex:inputCheckbox value={!boundBooleanVal}/>.

 

If its a SObject you can use <apex:inputField value="{rec.Field__c}"/>