+ Start a Discussion
Sindhu AmbarkarSindhu Ambarkar 

checkbox values are not getting displayed in visualforce page


I have used two values on checkbox text but it is not getting displayed.Please help me

Code for visuaalforce page
<apex:pageBlockSectionItem >
<apex:outputText value="Schedule"/>
<apex:selectCheckboxes value="{!Doc}">
<apex:selectOptions value="{!CheckList}"/>

public List<SelectOption> getCheckList()
 List<SelectOption> options = new List<SelectOption>();
options.add(new selectOption('*yes','*yes'));
options.add(new selectOption('no,'*no'));
return options;
On the visualforce page only checkbox is displayed without yes and no values