+ Start a Discussion
AlokVAlokV 

Checkbox on the left side of text

Hi,

Can we place checkboxes on the left side of text? Is there any around?
Any help would be appreciated.

Checkbox here   1a Referral Obtained

Thanks,
Alok
Ashish_SFDCAshish_SFDC
Hi Alok, 


Use the Checkbox item first and then the Output label item in the visualforce page. 

<apex:inputCheckbox >

<apex:pageBlockSectionItem>
<apex:inputCheckbox="{!field.name}" id="field"/>
<apex:outputLabel value="Field Label" for="field"/>
</apex:pageBlockSectionItem>

If you are using list see the code in the below doc,

http://wiki.developerforce.com/page/Checkbox_in_DataTable


Regards,
Ashish