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
Prabitha SPrabitha S 

this visualforce program shows an error that is Error: Registration__c does not exist.please tell how to solve

<apex:page standardController="Registration__c" sidebar="false" showheader="false" tabStyle="Employee__c">
<apex:form >
  <apex:pageBlock >
   <div align="left">
    <!-- <apex:image value="{!$Resource.Emplyee_VF_Logo}" style="margin-left:20px"/> -->
    <apex:image url="{!URLFOR($Resource.Emplyee_VF_imgs, 'images/Employees.jpg')}"/>
   </div>
   <div align="center">
    <apex:outputLabel value="Employee Registration__c" style="font-weight:bold;font-size:25px;color:#B80000"/>   
   </div>
   <hr/><br/><br/>
   <apex:pageBlockSection columns="2" title="Please fill your details" collapsible="false">
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="First Name"/>
     <apex:inputtext value="{!Registration__c.First_Name__c}"/>
    </apex:pageBlockSectionItem>
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="Last Name"/>
     <apex:inputField value="{!Registration__c.name}"/>
    </apex:pageBlockSectionItem>
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="Email"/>
     <apex:inputtext value="{!Registration__c.Email__c}"/>
    </apex:pageBlockSectionItem>
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="Username"/>
     <apex:inputtext value="{!Registration__c.Username__c}"/>
    </apex:pageBlockSectionItem>  
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="Password"/>
     <apex:inputsecret value="{!Registration__c.Password__c}"/>
    </apex:pageBlockSectionItem>
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="Confirm Password"/>
     <apex:inputsecret value="{!Registration__c.Confirm_Password__c}"/>
    </apex:pageBlockSectionItem>
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="Birthdate"/>
     <apex:inputField value="{!Registration__c.Birthdate__c}"/>
    </apex:pageBlockSectionItem>
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="City"/>
     <apex:inputField value="{!Registration__c.City__c}"/>
    </apex:pageBlockSectionItem>
    <apex:pageBlockSectionItem >
     <apex:outputLabel value="Country"/>
     <apex:inputtext value="{!Registration__c.Country__c}"/>
    </apex:pageBlockSectionItem>
   </apex:pageBlockSection>
   <apex:panelGrid columns="3" style="margin-left:60px">
    <apex:commandButton value="Submit" action="{!Save}"/>
    <apex:commandButton value="Cancel" action="{!Cancel}"/>   
   </apex:panelGrid>
  </apex:pageBlock>
</apex:form>
</apex:page>
Manoj DegaManoj Dega
Hi,

I Think this Line may Effect "Employee Registration__c"
<apex:outputLabel value="Employee Registration__c" style="font-weight:bold;font-size:25px;color:#B80000"/>

Ravikant kediaRavikant kedia
First check  Employee Registration__c object api name it should be same as you define if it is same then remove this line 
<apex:outputLabel value="Employee Registration__c" style="font-weight:bold;font-size:25px;color:#B80000"/> and check again.
ManojjenaManojjena
Hi Manoj ,

Replace your code with below line it will work .
<apex:outputLabel value="{!$ObjectType.Employee Registration__c.label}" style="font-weight:bold;font-size:25px;color:#B80000"/>

Thnaks 
Manoj