Disable Keyboard Enter Key in Sage CRM Screens

By | April 29, 2022

In Sage CRM, when data is entered on Company, Person, Case, or any other custom entity screens, the record gets saved into Sage CRM when the Sage CRM user clicks on the “Enter” key on the Keyboard. One of our customers approached us and came up with a requirement that, he wants to prevent records from being saved automatically by hitting Enter Key.

New Stuff: Sage CRM – Finance Ticket Management

The customer was entering data into the Description field and if the user pressed an Enter key then the record gets saved. Customers wanted to enter long paragraphs into the Description field. To overcome this, the Customer wanted to prevent the saving of records on click of Keyboard Enter Key in Sage CRM.

This can be achieved by following the below steps.

  • Log in to Sage CRM with Admin user.
  • Navigate to the below path and select Cases entity. and Click on the CaseDetailBox Edit icon
    Administration | Customization | Case | Screens
  • Click on the Pencil icon available in the Customize column of the Case Detail Screen.

  • Copy and Paste the below lines of code into the CustomContent section as shown below the image.

function DisableEnterKey()
			var tag=event.target.tagName;


			if(event.keyCode == 13 && tag!="textarea") 
				return false;

  • Click on the Save Button.

Once this is done, data won’t save when the Keyboard Enter Key button is clicked on the New/Edit Case screen. In the same way, anyone can disable the Keyboard Save button on the screen of his choice within Sage CRM.

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partners is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development, and implementation competence.

Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3Sage IntacctSage 100Sage 500, and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users, and Sage PSG worldwide. Greytrix helps in the migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like  Greytrix Business ManagerSage CRM Project ManagerSage CRM Resource PlannerSage CRM Contract ManagerSage CRM Event ManagerSage CRM Budget PlannerGmail IntegrationSage CRM Mobile Service SignatureSage CRM CTI Framework.

Greytrix is a recognized Sage Champion Partner for GUMU™ Sage X3 – Sage CRM integration listed on Sage Marketplace and Sage CRM – Sage Intacct integration listed on Sage Intacct Marketplace. The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for the processing and execution of application programs at the click of a button.

For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.