• div nine
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 5
    Replies
I want to update not save but salesforce is not letting me

<apex:page standardController="Onboarding__c" >
<apex:form >
<apex:pageBlock >
<apex:pageblockSection title="Information" >
<apex:inputField value="{!Onboarding__c.termination1__c}"/><br></br>
<apex:inputField value="{!onboarding__c.employed__c }"/>

</apex:pageblockSection>

<apex:pageBlockButtons >
<apex:commandButton value="save" action="{!update}"/>


</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
public class apex {
public account acc {get;set;}

public apex(){

account acc = [select name from account limit 1];

}
}
I want to update not save but salesforce is not letting me

<apex:page standardController="Onboarding__c" >
<apex:form >
<apex:pageBlock >
<apex:pageblockSection title="Information" >
<apex:inputField value="{!Onboarding__c.termination1__c}"/><br></br>
<apex:inputField value="{!onboarding__c.employed__c }"/>

</apex:pageblockSection>

<apex:pageBlockButtons >
<apex:commandButton value="save" action="{!update}"/>


</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
public class apex {
public account acc {get;set;}

public apex(){

account acc = [select name from account limit 1];

}
}