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