function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:page > <apex:form > <apex:pageBlock > <apex:pageBlockSection > <apex:pageBlockSectionItem >Name<apex:inputText /></apex:pageBlockSectionItem> <apex:pageBlockSectionItem >Age: <apex:selectRadio > <apex:selectOption itemLabel="Male" itemValue="m"/> <apex:selectOption itemLabel="Female" itemValue="f"/> </apex:selectRadio> </apex:pageBlockSectionItem> <apex:pageBlockSectionItem >Skills: <apex:selectcheckboxes layout="pageDirection"> <apex:selectOption itemLabel="C" itemValue="f"/> <apex:selectOption itemLabel="C++" itemValue="cpp"/> <apex:selectOption itemLabel="JAVA" itemValue="j"/> <apex:selectOption itemLabel="HTML" itemValue="h"/> <apex:selectOption itemLabel="JAVASCRIPT" itemValue="js"/> <apex:selectOption itemLabel="VC++" itemValue="vcpp"/> </apex:selectcheckboxes> </apex:pageBlockSectionItem> <apex:pageBlockSectionItem >Active?<apex:inputCheckbox /></apex:pageBlockSectionItem> </apex:pageBlockSection> <apex:pageBlockButtons > <apex:commandButton value="Store"/> </apex:pageBlockButtons> </apex:pageBlock> </apex:form> </apex:page>
Please find the sample code for using checkboxes in VF page.
If you want to communicate to the "Model", you need to write the Controller class for this Visualforce page.
Hope this helps you!
Best Regards,
Deepthi