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

Limiting Enter key so that it does not trigger 'Save' action

When creating new objects and intuitively pressing the Enter key the system saves and closes the page and returns to the main menu. I need to limit the Enter key  to the entry fields and neither triggering the save action nor directly taking the user back to the main screen. Is this possible through a Java script? If yes, should I create visualforce pages for standard object detail pages  and override detail page of standard objects ? Or is there any other method to implement this? Pls help!