How to limit/truncate the output Document Name to just 80 Character length on DOR
We have created Autocomplete rules for Document Records where the Document Name defaulted as "LastName_FirstName_PersonNumber_DocumentType_DD-MMM-YYYY", BUT some document types rendered an Error due to exceed character length of 80, see below screenshots. How should we limit the character or add another condition to not display that error or leave it blank?
Issue/Error while Hiring: ---Error Display
Issue/Error while entering DOR: --- It leaves BLANK for Field Name or Document Name
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):