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
Summer TuckerSummer Tucker 

Page preview screen different than live view

All - I created a wizard in visual force on a page called opptyStep1. I then assigned this page as the homepage on my site. 
Here's the issue: the preview screen of the page looks perfect but when I click on the site, two of the fields are not showing correctly: one is supposed to be a dropdown menu (Investment Strategy), the other a checkbox (active__c). The check box doesnt even show.  Any ideas?  The code is below

<apex:page sidebar="false" standardstylesheets="false" showheader="false" controller="newOpportunityController"
           tabStyle="Opportunity">
           <apex:image value="http://i723.photobucket.com/albums/ww231/sumtuck1/la-investments-v2-intrlcd-nav_zpsumlix1ia.png"/>
 <apex:sectionHeader title="Step 1 of 3: Personal Information"
                     />
  <apex:form >
    <apex:pageBlock title="Open a NSRi Account">

      <!-- This facet tag defines the "Next" button that appears
           in the footer of the pageBlock. It calls the step2()
           controller method, which returns a pageReference to
           the next step of the wizard. -->  
    
      <apex:facet name="footer">
        <apex:commandButton action="{!step2}" value="Next"
                            styleClass="btn"/>
      </apex:facet>
    

      <!-- <apex:panelGrid> tags organize data in the same way as
            a table. It places all child elements in successive cells,
            in left-to-right, top-to-bottom order -->  
    
      <!-- <apex:outputLabel > and <apex:inputField > tags can be
            bound together with the for and id attribute values,
            respectively. -->  
    
      
     
    
       <apex:panelGrid columns="2">
         <apex:outputLabel value="First Name"
                           for="contactFirstName"/>
         <apex:inputField id="contactFirstName"
                          value="{!contact.firstName}"/>
         <apex:outputLabel value="Last Name" for="contactLastName"/>
         <apex:inputField id="contactLastName"
                          value="{!contact.lastName}"/>
         <apex:outputLabel value="Phone" for="contactPhone"/>
         <apex:inputField id="contactPhone"
                          value="{!contact.phone}"/>
           <apex:outputLabel value="Email"
                           for="accountPersonEmail"/>
          <apex:inputField id="accountPersonEmail"
                          value="{!account.personEmail}"/>
         <apex:outputLabel value="Date of Birth"
                           for="contactBirthdate"/>
          <apex:inputField id="contactBirthdate"
                          value="{!contact.birthdate}"/>
          <apex:outputLabel value="Social Security Number"
                           for="contactSocial_Security_Tax_ID__c"/>
          <apex:inputField id="contactSocial_Security_Tax_ID__c"
                          value="{!contact.Social_Security_Tax_ID__c}"/>
                           <apex:outputLabel value="Investment Strategy"
                            for="opportunityInvestment_Strategy__c"/>
          <apex:inputField id="opportunityInvestment_Strategy__c"
                           value="{!opportunity.Investment_Strategy__c}"/>
          <apex:outputLabel value="Initial Investment Amount"
                            for="opportunityAmount"/>
          <apex:inputField id="opportunityAmount"
                           value="{!opportunity.amount}"/>
          <apex:outputLabel value=""
                            for="opportunityActive__c"/>
          <apex:inputField id="opportunityActive__c"
                           value="{!opportunity.Active__c}"/>
                         
        
       </apex:panelGrid>
 
    </apex:pageBlock>
  </apex:form>
</apex:page>
 
Akshay DeshmukhAkshay Deshmukh
You site also has a profile. You have to give access to the fields you created to site profile as well. Just give READ access to fields for site profiles and you should be able to see page according to preview.

Hope it helpes you.