{"id":23712,"date":"2020-03-02T10:31:47","date_gmt":"2020-03-02T10:31:47","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=23712"},"modified":"2020-03-02T10:31:49","modified_gmt":"2020-03-02T10:31:49","slug":"change-color-of-error-message-in-sage-crm","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/","title":{"rendered":"Change color of Error Message in Sage CRM"},"content":{"rendered":"\n<p> In Sage CRM error messages play an important role as it gives us a brief idea about what exactly the error is? Why it may have occurred? Error messages are included in TLS, Create Script and Validation Script for custom as well as standard entities and fields. These error messages always appear in red by standard functionality. <\/p>\n\n\n\n<p><strong><em>New Stuff<\/em><\/strong><em>: <\/em><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/01\/03\/issue-while-loading-records-on-ticket-list-in-self-service-portal\/\">Issue while loading records on Ticket List in Self Service Portal<\/a><\/p>\n\n\n\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg\" alt=\"Validation Red\"><\/a>\n<font size=\"2\"><center><i>Validation Red<\/i><\/center><\/font>\n\n\n\n<p>In this blog, we will discuss how we can add more attractive UI to display an error message for a particular screen. In Sage CRM, error messages are displayed using a class name \u201cErrorContent\u201d. The coding for the same is in the file \u201cergonomic.css\u201d located at below path: <br> &lt;&lt;>Install Directory>>\/&lt;&lt;Instance Name>>\/WWWRoot\/Themes\/<\/p>\n\n\n\n<p>You can directly make modifications in this file and changes will reflect in Sage CRM for all screens. But what if you want to do modification in a single screen? You can achieve the same with javascript code. Consider an example that you want to change error message colors but only for opportunity screen. To do so follow the below steps. <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Log On to CRM.<\/li><li>Navigate to <strong>Administration | Customization| Opportunity | Screens | OpportunityDetailBox<\/strong><\/li><li>Add below script to custom content block and Save. <\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script>\ncrm.ready(function()\n{\n$(\".ErrorContent\").css(\"color\",\"green\"); \/\/You can give any color you want.\n});\n&lt;\/script><\/code><\/pre>\n\n\n\n<p>Now only for this screen error message will be displayed in different green color as shown below:<\/p>\n\n\n\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/Img-2-1.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/Img-2-1.jpg\" alt=\"Validation Green\"><\/a>\n<font size=\"2\"><center><i>Validation Green<\/i><\/center><\/font>\n\n\n\n<p>You can add further modifications such as \u201cBorder Color\u201d or background color. You just need to change CSS property accordingly.<\/p>\n\n\n\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span>\n<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/\" target=\"_blank\">Greytrix<\/a> &#8211; a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience, 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.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> helps in upgrading Sage ERP and CRM to the latest version and provides migration for <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/migrate-qb-sage-erp-to-sage-intacct\">Sage Intacct from Sage 300, Sage 100, Sage 50 and QuickBooks<\/a>; for Sage 100, Sage 300 (Sage Accpac), Sage X3 from <a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/sage-pro-sage-300-migration\">Sage Pro<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/sage-50-us-sage-300-migration\">Sage 50 US<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/sage-50-ca-sage-300-migration\">Sage 50 CA<\/a>, <a href=\"https:\/\/www.greytrix.com\/resources\/sage-erp-crm-migration.pdf\">Sage 50 US, Sage Business Works, Sage Business Vision<\/a> and <a href=\"https:\/\/www.greytrix.com\/product\/sage-100-erp\/quickbooks-sage-100-migration\">QuickBooks<\/a>; for Sage CRM from <a href=\"https:\/\/www.greytrix.com\/resources\/sage-erp-crm-migration.pdf\">Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer<\/a><\/p>\n\n\n\n<p>For more information on Sage ERP \u2013 CRM migration solutions, please contact us at&nbsp;<a href=\"mailto:erpmig@greytrix.com\">erpmig@greytrix.com<\/a>.&nbsp;We will like to hear from you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Sage CRM error messages play an important role as it gives us a brief idea about what exactly the error is? Why it may have occurred? Error messages are included in TLS, Create Script and Validation Script for custom as well as standard entities and fields. These error messages always appear in red by\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67,83,138,332,333,335,334,3985,3986,3987,336,337,338,1,421],"tags":[699,1094,2480,4092],"class_list":["post-23712","post","type-post","status-publish","format-standard","hentry","category-color","category-crm72","category-error","category-sage-crm","category-sage-crm-2017","category-sage-crm-2018-crm72","category-sage-crm-2018","category-sage-crm-2019-r1","category-sage-crm-2019-r1-sage-crm-2018-crm72","category-sage-crm-2019-r1-sage-crm","category-sage-crm-7-1-sp2","category-sage-crm-7-2","category-sage-crm-73","category-uncategorized","category-validate-script","tag-color","tag-error-message","tag-ui-changes","tag-validation-message"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Change color of Error Message in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Change color of Error Message in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"In Sage CRM error messages play an important role as it gives us a brief idea about what exactly the error is? Why it may have occurred? Error messages are included in TLS, Create Script and Validation Script for custom as well as standard entities and fields. These error messages always appear in red by\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-02T10:31:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-02T10:31:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg\" \/>\n<meta name=\"author\" content=\"Greytrix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Greytrix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/\",\"name\":\"Change color of Error Message in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg\",\"datePublished\":\"2020-03-02T10:31:47+00:00\",\"dateModified\":\"2020-03-02T10:31:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/402abe5da07cd7f9bfeb6acfa41fae39\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#primaryimage\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg\",\"contentUrl\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Change color of Error Message in Sage CRM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\",\"name\":\"Sage CRM \u2013 Tips, Tricks and Components\",\"description\":\"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/402abe5da07cd7f9bfeb6acfa41fae39\",\"name\":\"Greytrix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g\",\"caption\":\"Greytrix\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greytrix\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Change color of Error Message in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/","og_locale":"en_US","og_type":"article","og_title":"Change color of Error Message in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components","og_description":"In Sage CRM error messages play an important role as it gives us a brief idea about what exactly the error is? Why it may have occurred? Error messages are included in TLS, Create Script and Validation Script for custom as well as standard entities and fields. These error messages always appear in red by\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2020-03-02T10:31:47+00:00","article_modified_time":"2020-03-02T10:31:49+00:00","og_image":[{"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg","type":"","width":"","height":""}],"author":"Greytrix","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Greytrix","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/","name":"Change color of Error Message in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#primaryimage"},"thumbnailUrl":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg","datePublished":"2020-03-02T10:31:47+00:00","dateModified":"2020-03-02T10:31:49+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/402abe5da07cd7f9bfeb6acfa41fae39"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#primaryimage","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg","contentUrl":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2020\/03\/img-1-1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2020\/03\/02\/change-color-of-error-message-in-sage-crm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Change color of Error Message in Sage CRM"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/","name":"Sage CRM \u2013 Tips, Tricks and Components","description":"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/402abe5da07cd7f9bfeb6acfa41fae39","name":"Greytrix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g","caption":"Greytrix"},"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greytrix\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/23712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/comments?post=23712"}],"version-history":[{"count":2,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/23712\/revisions"}],"predecessor-version":[{"id":23770,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/23712\/revisions\/23770"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=23712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=23712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=23712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}