You need to sign in to do that
Don't have an account?
chantspel
Leverage standard controller save action
Hi,
I am trying to overide the default edit page for my custom object but not having much luck. I think this code is pretty self explanatory, but when I click the save button - the record does not update or get saved...
<apex:page standardController="CustomObj__c" showHeader="true">
<apex:pageBlock >
<apex:form >
<apex:commandButton value="Save" action="{!save}"/>
<apex:inputText value="{!CustomObj__c.CustomObjValue__c}" size="50" />
</apex:form>
</apex:pageBlock>
</apex:page>
Is there something else I need to do to take the input and save it? I'd rather not have to write a controller for such a simple thing. Thanks
Hi there,
I tried the same code with standard controller (account), this worked for me.
Thanks.