{"id":1607,"date":"2012-03-26T13:07:46","date_gmt":"2012-03-26T13:07:46","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=1607"},"modified":"2024-02-20T12:33:09","modified_gmt":"2024-02-20T12:33:09","slug":"altering-changing-multiline-text-field-width-on-communication-screen","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/","title":{"rendered":"Altering \/ Changing Multiline Text field width on Communication screen"},"content":{"rendered":"<p>The Administration section Sage CRM provides option not only to add new fields in an entity but also to change the entry type, Caption, Entry Width etc of the existing fields. Once altered these changes get reflected on the screen wherever used. But recently I came across a strange issue. The requirement was to change the width of the Details (comm_note) field in communication screen. As usual I changed the Entry width in the administration section for this field. But the changes were reflected only in the Edit mode and not in the View mode. The screen in Edit Mode:<br \/><br \/>In the view mode the details field was displayed as it was earlier. The width changes were not reflected. The screen in view mode:<br \/><br \/>By writing a script I was able to achieve the same width for the details field in both Edit and View mode.<br \/>1. Go to Administration-&gt; Customization-&gt; Communication -&gt; Screen<br \/>2. Click on CustomCommunicationDetailBox.<br \/>3. In the comm_note field\u2019s create script you need to add the below script:<br \/>\/\/&#8217;Get act value from url<br \/>ActionVal=new String(Values(&#8220;Act&#8221;));<br \/>Caption=&#8221;Details:&lt; input type=hidden Id=hdnact name=hdnact value='&#8221;+ActionVal+&#8221;&#8216; &gt;&#8221;<br \/>Then in the custom content section include the below script:<br \/>&lt; script for=window event=onload &gt;<br \/>\/\/&#8217;Change the width of the case details field<br \/>ChangeMultiline();<br \/>function ChangeMultiline()<br \/>{<br \/>\/\/&#8217;Get the value of act from hidden variable<br \/>hdnact = new String(document.EntryForm.hdnact.value);<br \/>if(hdnact == &#8216;363&#8217;)<br \/>{<br \/>NoteHTML = document.getElementById(&#8220;_Datacomm_note&#8221;).innerHTML;<br \/>document.getElementById(&#8220;_Datacomm_note&#8221;).innerHTML = &#8220;&lt; textarea CLASS=viewbox name=&#8217;comm_note&#8217; readonly=true maxlength=0 rows=7 cols=100 &gt;&#8221;+NoteHTML+&#8221;&lt; \/TEXTAREA &gt;&#8221;;<br \/>}<br \/>}<br \/>&lt; \/script &gt;<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Administration section Sage CRM provides option not only to add new fields in an entity but also to change the entry type, Caption, Entry Width etc of the existing fields. Once altered these changes get reflected on the screen wherever used. But recently I came across a strange issue. The requirement was to change\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[155,332,351],"tags":[],"class_list":["post-1607","post","type-post","status-publish","format-standard","hentry","category-fields","category-sage-crm","category-screen-sage-crm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Altering \/ Changing Multiline Text field width on Communication screen - 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\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Altering \/ Changing Multiline Text field width on Communication screen - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"The Administration section Sage CRM provides option not only to add new fields in an entity but also to change the entry type, Caption, Entry Width etc of the existing fields. Once altered these changes get reflected on the screen wherever used. But recently I came across a strange issue. The requirement was to change\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2012-03-26T13:07:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-20T12:33:09+00:00\" \/>\n<meta name=\"author\" content=\"greysagecrm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"greysagecrm\" \/>\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\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/\",\"name\":\"Altering \/ Changing Multiline Text field width on Communication screen - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"datePublished\":\"2012-03-26T13:07:46+00:00\",\"dateModified\":\"2024-02-20T12:33:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Altering \/ Changing Multiline Text field width on Communication screen\"}]},{\"@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\/e7ff1c8f4763b47730d6bc5e74d59c1f\",\"name\":\"greysagecrm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"caption\":\"greysagecrm\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Altering \/ Changing Multiline Text field width on Communication screen - 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\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/","og_locale":"en_US","og_type":"article","og_title":"Altering \/ Changing Multiline Text field width on Communication screen - Sage CRM \u2013 Tips, Tricks and Components","og_description":"The Administration section Sage CRM provides option not only to add new fields in an entity but also to change the entry type, Caption, Entry Width etc of the existing fields. Once altered these changes get reflected on the screen wherever used. But recently I came across a strange issue. The requirement was to change\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2012-03-26T13:07:46+00:00","article_modified_time":"2024-02-20T12:33:09+00:00","author":"greysagecrm","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greysagecrm","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/","name":"Altering \/ Changing Multiline Text field width on Communication screen - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"datePublished":"2012-03-26T13:07:46+00:00","dateModified":"2024-02-20T12:33:09+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/03\/26\/altering-changing-multiline-text-field-width-on-communication-screen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Altering \/ Changing Multiline Text field width on Communication screen"}]},{"@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\/e7ff1c8f4763b47730d6bc5e74d59c1f","name":"greysagecrm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","caption":"greysagecrm"},"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/1607","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/comments?post=1607"}],"version-history":[{"count":2,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/1607\/revisions"}],"predecessor-version":[{"id":28130,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/1607\/revisions\/28130"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=1607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=1607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=1607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}