• hanmanthu kottala
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
I have created my custom object  fullname   and it have three fields  name (default), middlename,lastname . I written visual force  code

<apex:page standardController="fullname" >
    <apex:form title="apex form">
       <apex:pageBlock>
           <apex:pageBlockSection>
           <apex:inputText  value="{!fullname.name}"/>
                <apex:inputText  value="{!fullname.middlename}"/>
                <apex:inputText  value="{!fullname.lastname}"/>
               <apex:commandButton  value="submit" action="{!save}"/>
           </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>


It showing error
    fullname does not exist    
I dont understand what's wrong in this program
why  i am getting String index out range:-1 error ?
I have created my custom object  fullname   and it have three fields  name (default), middlename,lastname . I written visual force  code

<apex:page standardController="fullname" >
    <apex:form title="apex form">
       <apex:pageBlock>
           <apex:pageBlockSection>
           <apex:inputText  value="{!fullname.name}"/>
                <apex:inputText  value="{!fullname.middlename}"/>
                <apex:inputText  value="{!fullname.lastname}"/>
               <apex:commandButton  value="submit" action="{!save}"/>
           </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>


It showing error
    fullname does not exist    
I dont understand what's wrong in this program
why  i am getting String index out range:-1 error ?