You need to sign in to do that
Don't have an account?
Nadia Gainsbourg
Fields Appear in Editing Mode on VF Page
I created a VF page to use as a subsection on a page layout. The custom fields that I put on it appear in editing mode instead of the same way that they would appear normally. What I need to add to my code in order to get the "normal" Salesforce field look. I have a feeling that it's something super simple that I don't know about as I'm new to VF. Thank you!
<apex:page standardController="Opportunity" tabStyle="Opportunity">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection title="Before the Call">
<apex:inputField value="{!opportunity.ATS__c}"/>
<apex:inputField value="{!opportunity.Job_Boards_Agregators__c}"/>
<apex:inputField value="{!opportunity.Competitor_Watch__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:page standardController="Opportunity" tabStyle="Opportunity">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection title="Before the Call">
<apex:inputField value="{!opportunity.ATS__c}"/>
<apex:inputField value="{!opportunity.Job_Boards_Agregators__c}"/>
<apex:inputField value="{!opportunity.Competitor_Watch__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>
venkatesh kotapati
use outputField which is readonly field of sObject instead of inputfield