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
Geoff SpozettaGeoff Spozetta 

Display Details of Saved Record

Hi All,

I'm using a the stnadard save option as in the example below, however I am wondering how within a visualforce page, I would be able to display/redirect the save button to a page that details the last submitted record or a list of all recent records in a visualforce
<apex:form>
  <apex:PageBlock>
  <apex:pageMessages/>
	<apex:PageBlockSection>
		<apex:inputField value="{!innovation_assurance__c.ID__c}"/>
		<apex:inputField value="{!innovation_assurance__c.Site_Location__c}" />
		<apex:inputField value="{!innovation_assurance__c.Fault_Description__c}" />
	</apex:PageBlockSection>
	<apex:commandbutton action="{! save}" value="Submit"/>
  </apex:PageBlock>


 
SonamSonam (Salesforce Developers) 
You will have to create a controller extension to create this updated functionality as you mentioned this is something addon and not available with the statndard save()