+ Start a Discussion

VisualForce - apex:selectCheckboxes

Hello everyone,


I've developed a VF Page where I want to show several options in a column. But, instead of that, the options are in a row. This is the code:


<apex:form >

<apex:selectCheckboxes value="{!Products}" title="Choose Five!!">           

<apex:selectOptions value="{!items}"/><br/>     


</apex:form >


Any advice would be most welcome!



Best Answer chosen by Admin (Salesforce Developers) 

Please try this...

<apex:selectCheckboxes value="{!Products}" title="Choose Five!!" layout ="pageDirection">