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
levaleva 

"Save & New" visualforce

Hi,

 

I have a custom visualforce that uses a standard controller and I need to add a “Save & New” button. What is the action name for the method?

 

Thank you

 

Best Answer chosen by Admin (Salesforce Developers) 
dmchengdmcheng

There is no save & new built-in method.  You will have write your own method.

All Answers

dmchengdmcheng

There is no save & new built-in method.  You will have write your own method.

This was selected as the best answer
Rahul SharmaRahul Sharma

Hi leva,

 

dmcheng, is correct you would need to write custom method which would save and redirect to new page again.


FYI: Standard controller actions are mentioned in below document:
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_std_actions.htm

levaleva

Thanks  for the replies Guys!