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
Luke Vang 33Luke Vang 33 

Custom new / edit VF page

Is it pretty common have a customer new and custom edit visual force page to share the same controller? 
UC InnovationUC Innovation
It's always better if common code can be used.  I've seen it both ways, but typically when the new and edit pages use different controllers, it's because the code logic needed are different depending on new versus edit.  If your logic is the same whether it's new or edit, then I would recommend just using the same controller.