+ 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">