Default validation feature provided by LDDM for each document type

Validations are set through the “document type” feature and these validations are triggered when the save button is clicked. User is notified of the validation error on a new screen.

Required:

if we can override this default validation and have a validation that gets triggered on the click of save button. Instead of displaying a new screen, an alert should be displayed notifying the user and the user has to stay in the same screen.