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

help:insert checkboxes or radiobuttons for output fields on visualforce page

how can i put checkboxes for <apex:outputfield> ?? the outfield contains fields from my standard controller ..i need to attach those fields with checkboxes


Can you be more clear?

what exactly you want to implement.

This is my VF code and i want to put check boxes for the outputfields.Thank you

<apex:page StandardController="Prospect__c" extensions="conversionrtestclass">

<apex:pageBlock >
<apex:pageBlockSection >
<!--<apex:outputLabel value="Prospect Name" for=""></apex:outputLabel>-->
<apex:outputField value="{!leadList.Name}"/>
<apex:outputField value="{!leadList.First_Name__c}"/>
<apex:outputField value="{!leadList.Last_Name__c}"/>
<apex:outputField value="{!leadList.City__c}"/>
<apex:outputField value="{!leadList.Email__c}"/>


<!--<apex:param name="id" value="{!id2}"/>
<apex:detail subject="{!id2}" />-->

<apex:pageBlock >
<apex:PageBlockSection title="People">
<apex:pageBlockSection title="Household">
<apex:pageBlockSection title="organisation">