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
Janis Davis 22Janis Davis 22 

Visualforce Section & Field Not Showing up in VF page

Hi! I'm a VF novice and I'm trying to add a new Section header and field to an existing VF Quote page, however neither are showing up on the Quote page. The existing code is pasted below with the section/field  I'm trying to add that is not showing up highlighted in yellow. Not sure what I'm doing wrong.

Any help or advise on this will be very much appreciated!

Thanks!

<apex:page standardController="Quote" extensions="Quote_extension">
 
<apex:includeScript value="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"/>
<apex:includescript value="{!URLFOR($Resource.ckeditorcustom2, 'ckeditor.js')}" />
  
<apex:form >
<apex:pageMessages id="msgs"/>
<apex:sectionheader title="Quote Edit" subtitle="{!if(Quote.Id==null,'New Quote',Quote.Name)}"></apex:sectionheader>
<apex:pageBlock mode="edit" id="QuotePB" title="Quote Edit">
 
<apex:pageblockbuttons >
    <apex:commandbutton action="{!save}" value="Save"></apex:commandbutton>
    <apex:commandbutton action="{!cancel}" value="Cancel"></apex:commandbutton>
</apex:pageblockbuttons>
 
<apex:pageblocksection id="QuoteInformationPBS" title="Quote Information">
    <apex:outputtext value=""></apex:outputtext>
    <apex:outputtext value=""></apex:outputtext> 
    <apex:inputfield value="{!Quote.Name}"></apex:inputfield>  
    <apex:outputField value="{!opp1.AccountId}" > </apex:outputField>
    <apex:inputField value="{!Quote.Proposal_Price__c}"  rendered="{!Quote.RecordType.Name='Lump Sum Proposal'}" required="true"/>  
    <apex:inputField value="{!Quote.Proposal_Price__c}"  rendered="{!Quote.RecordTypeID='012i0000001AXkl'}" required="true"/>
    <apex:inputField value="{!Quote.Proposal_Price__c}"  rendered="{!Quote.RecordType.Name='Lump Sum Proposal TEST VF'}" required="true"/>  
    <apex:inputField value="{!Quote.Proposal_Price__c}"  rendered="{!Quote.RecordTypeID='0123B0000008aYW'}" required="true"/>          
    <apex:inputField value="{!Quote.Unit_Price__c}"  rendered="{!Quote.RecordType.Name='Unit Price Proposal'}" required="true"/>
    <apex:inputField value="{!Quote.Unit_Price__c}"  rendered="{!Quote.RecordTypeID='012i0000001AXkn'}" required="true"/>
    <apex:outputField value="{!Quote.OpportunityID}"> </apex:outputField>            
    <apex:inputField value="{!Quote.Unit_of_Measure__c}" rendered="{!Quote.RecordType.Name='Unit Price Proposal'}" required="true"/>
    <apex:inputField value="{!Quote.Unit_of_Measure__c}"  rendered="{!Quote.RecordTypeID='012i0000001AXkn'}" required="true"/>
    <apex:inputfield value="{!Quote.Expiration_Interval__c}"  required="true"></apex:inputfield>
    <apex:inputfield value="{!Quote.Expiration_Date__c}" ></apex:inputfield>
    <apex:inputfield value="{!Quote.Additional_Charges_to_be_Included_in_SOW__c}"></apex:inputfield>  
    <apex:outputtext value=""></apex:outputtext>     
</apex:pageblocksection>
 
<apex:pageblocksection id="ContactInformationPBS" title="Contact Information">
     <apex:inputField value="{!Quote.ContactId}" ></apex:inputField>
      <apex:outputfield value="{!Quote.Contact.Phone}" ></apex:outputfield>
   <apex:outputfield value="{!Quote.Contact.Email}"></apex:outputfield> 
   <apex:outputfield value="{!Quote.Contact.Fax}" ></apex:outputfield> 
</apex:pageblocksection>
 
<apex:pageblocksection id="ScopeofWorkPBS" columns="1" title="Scope of Work">
<apex:inputTextArea value="{!Quote.Scope_of_Work__c}" label="" styleclass="ckeditor" richtext="false" required="true"/>
</apex:pageblocksection>
 
<apex:pageblocksection id="QuoteAdditionalFeesorChargesPBS" title="Additional Fees or Charges">
        <apex:inputfield value="{!Quote.Minimum_Charge__c}"></apex:inputfield>  
  </apex:pageblocksection>
 
<apex:pageblocksection id="ConditionsExclusionsPBS"  title="Exclusions and Conditions" columns="2">
<apex:pageblockSectionItem >
<apex:inputTextarea value="{!Quote.Conditions_Exclusions__c}"  cols="150" rows="25" required="true" label="Exclusions and Conditions"/>
</apex:pageblockSectionItem>
</apex:pageblocksection>
 
</apex:pageBlock>
</apex:form>
</apex:page>
 
Lalit Mistry 21Lalit Mistry 21
Hi Janis,

Check for the field level security on respective fields on object. You must have read/write on fields to be used on input fields.
Janis Davis 22Janis Davis 22
Hi Lalit,

I'm a System Admin so I have accesss I also checked the field level security on the field and it's visible to all Profiles and none are checked Read Only. Do you have any other ideas?

Thanks!

Janis