You need to sign in to do that
Don't have an account?
lnorris
Changing field display name with inputField in BlockSection
I'm trying to give a field a custom display name value. I've done this with standard tables before, but I'm using blocksection and am having some trouble. I tried using outputLable, but it added another row and didn't change the name of the item I had given the ID to.
here's the code:
<apex:pageBlockSection columns="1" >Is it possible to give the "Date" field a new display value?
<apex:inputField value="{!Task.Activity_Type__c}"/>
<apex:inputField value="{!Task.WhoID}"/>
<apex:inputField value="{!Task.ActivityDate}" ID="Date"/>
<apex:inputField value="{!Task.Description}" style="width:50%;"/>
</apex:pageBlockSection>
Thanks in advance!
Best Answer chosen by Admin (Salesforce Developers)
jwetzler
Look at the doc for pageBlockSectionItem.