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
AbanteAbante 

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:selectCheckboxes><br/>

</apex:form >

 

Any advice would be most welcome!

 

Regards

Best Answer chosen by Admin (Salesforce Developers) 
raseshtcsraseshtcs

Please try this...

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