Whenever a record is created by user (using New button on related list), "before insert before update" trigger validates a look up field to see if the value entered already exists in Salesforce (e.g. zip code).
When user enters a zip code in "zip code customer moving to" field and if that does not exist in SFDC, error is displayed at the top mentioning as shown in the image:
2 things need to be done:
How can I customize the error message to show only "Error: Invalid zip entered" removing the verbiage such that "Invalid data. Review all error ....."
This error comes from trigger. How can i display the error below "Zip code Customer moving to" field?