<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ReadOnly field not working in sugarcrm 6.4.4</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/456/readonly-field-not-working-in-sugarcrm-6-4-4</link><description>Hi All I have a custom checkbox field in accounts.And i want to make in readonly in create view as well as edit view. I have used /custom/Extension/modules/Accounts/Ext/Vardefs/test.php Shijin Krishna Ajay Kumar &amp;lt;?php $dictionary[&amp;#39;Account&amp;#39;][&amp;#39;fields&amp;#39;]</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: ReadOnly field not working in sugarcrm 6.4.4</title><link>https://sugarclub.sugarcrm.com/thread/1494?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 15:04:18 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:55aff1bf-c422-4fb6-8043-8a5dcc10afeb</guid><dc:creator>Kristjan Geir Mathiesen</dc:creator><description>&lt;p&gt;Hi Prashant.&lt;/p&gt;&lt;p&gt;Thanks for this. I am running 7.7 and can&amp;acute;t find my custom field in the &lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;"&gt;editviewdefs.php file. In fact, I cannot find any of my custom fields in that file. Do you know if readonly is done differently on 7.x?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;"&gt;KGM&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadOnly field not working in sugarcrm 6.4.4</title><link>https://sugarclub.sugarcrm.com/thread/1493?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 12:14:22 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:bf2a1687-4b02-40ef-a1c0-ba979115e729</guid><dc:creator>Prashant Patel</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://sugarclub.sugarcrm.com/members/sidhu"&gt;sidhu sidhu&lt;/a&gt;,&lt;/p&gt;&lt;p&gt;Following is works fine for me.&lt;/p&gt;&lt;p&gt;go to custom/modules/&amp;lt;your_module_name&amp;gt;/metadata/editviewdefs.php&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Find your field name into that file and add the following there as below.&lt;/p&gt;&lt;p&gt;&lt;span style="color:#2c2d30;font-family:Slack-Lato, appleLogo, sans-serif;background-color:#f9f9f9;"&gt;array (&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#2c2d30;font-family:Slack-Lato, appleLogo, sans-serif;background-color:#f9f9f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;name&amp;#39; =&amp;gt; &amp;#39;test_c&amp;#39;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#2c2d30;font-family:Slack-Lato, appleLogo, sans-serif;background-color:#f9f9f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;label&amp;#39; =&amp;gt; &amp;#39;LBL_TEST&amp;#39;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#2c2d30;font-family:Slack-Lato, appleLogo, sans-serif;background-color:#f9f9f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;displayParams&amp;#39;=&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#2c2d30;font-family:Slack-Lato, appleLogo, sans-serif;background-color:#f9f9f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array(&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#2c2d30;font-family:Slack-Lato, appleLogo, sans-serif;background-color:#f9f9f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;readonly&amp;#39;=&amp;gt;&amp;#39;true&amp;#39;, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#2c2d30;font-family:Slack-Lato, appleLogo, sans-serif;background-color:#f9f9f9;"&gt;),&lt;/span&gt;&lt;span style="color:#2c2d30;font-family:Slack-Lato, appleLogo, sans-serif;background-color:#f9f9f9;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Let me know if you still have any issue.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadOnly field not working in sugarcrm 6.4.4</title><link>https://sugarclub.sugarcrm.com/thread/1492?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 11:42:42 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:b28e1b6f-8825-4e10-9d27-1fb75354f91c</guid><dc:creator>Mehul  Bhandari</dc:creator><description>&lt;p&gt;Hi sidhu&lt;/p&gt;&lt;p&gt;please try ..&lt;/p&gt;&lt;p&gt;$dictionary['Account']['fields']['test_c']['type']=&amp;#39;readonly&amp;#39;;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadOnly field not working in sugarcrm 6.4.4</title><link>https://sugarclub.sugarcrm.com/thread/1491?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 11:36:07 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:ab76ee3c-63b4-48db-a30e-8f04d1fefda8</guid><dc:creator>Prashant Patel</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://sugarclub.sugarcrm.com/members/sidhu"&gt;sidhu sidhu&lt;/a&gt;,&lt;/p&gt;&lt;p&gt;Have you done repair and rebuild from admin section?&lt;br /&gt;I have done the same thing on my locally installed same version and it seems to be working well.Clear your browser cache too.&lt;/p&gt;&lt;p&gt;Let me know if you still facing any issue.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Prashant&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>