<?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>How to make related field search box readonly in record.js</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/3646/how-to-make-related-field-search-box-readonly-in-record-js</link><description>I want to make read-only to the related field search box on change other field or on page load in record.js</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to make related field search box readonly in record.js</title><link>https://sugarclub.sugarcrm.com/thread/18873?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 12:29:29 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:4fa2473e-d2cf-41eb-b130-a03026127f25</guid><dc:creator>Adam Frank</dc:creator><description>&lt;p&gt;Agreed with &lt;a href="/members/johnboyes9347"&gt;John Boyes&lt;/a&gt;, dependency actions are the way to go.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make related field search box readonly in record.js</title><link>https://sugarclub.sugarcrm.com/thread/18871?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 10:06:54 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0cdf3a21-6679-4293-8103-fc90655cea0a</guid><dc:creator>John Boyes</dc:creator><description>&lt;p&gt;You could use Dependency Actions as they are Extensible and remove the possibility of losing your changes in the record.js file if it is overwritten by another package.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.3/Architecture/Sugar_Logic/Dependency_Actions/"&gt;https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.3/Architecture/Sugar_Logic/Dependency_Actions/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make related field search box readonly in record.js</title><link>https://sugarclub.sugarcrm.com/thread/18800?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 17:36:28 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0b438bf5-65a4-4c2a-889e-cda37a401c63</guid><dc:creator>Shad Mickelberry</dc:creator><description>&lt;p&gt;In the record.js in the initialize method you need to set the individual field to have a readonly parameter. For relate fields you need to do the name parameter. This example is for assigned user.&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;this&lt;/span&gt;.model.fields.assigned_user_name.readonly &lt;span&gt;= &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make related field search box readonly in record.js</title><link>https://sugarclub.sugarcrm.com/thread/18317?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2020 09:35:12 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:4976a7fa-cbdc-433d-b555-b8a17018f348</guid><dc:creator>Laxmichand Saini</dc:creator><description>&lt;p&gt;I want to make the search field inside the relate field read-only. Or please suggest a solution to search filter through search box according to another field value like &amp;quot;Hello Word&amp;quot;. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make related field search box readonly in record.js</title><link>https://sugarclub.sugarcrm.com/thread/18316?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 09:27:49 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:17c60a7f-0187-41a7-b965-d74b73a518a4</guid><dc:creator>Hussain Nasir</dc:creator><description>&lt;div style="color:#222222;background-color:#ffffff;font-size:small;"&gt;Hello Laxmichand,&lt;/div&gt;&lt;div style="color:#222222;background-color:#ffffff;font-size:small;"&gt; &lt;/div&gt;&lt;div style="color:#222222;background-color:#ffffff;font-size:small;"&gt;Do you want to make the entire relate field read-only or JUST the search field inside the relate field read-only? What is the exact use case that you are facing? I don&amp;#39;t see why you would only want to make just the search field read-only. Can you please elaborate?&lt;/div&gt;&lt;div style="color:#222222;background-color:#ffffff;font-size:small;"&gt;&lt;span style="border:0px;font-size:small;"&gt;Kind Regards!&lt;/span&gt;&lt;br /&gt;&lt;span style="border:0px;font-size:small;"&gt;Rolustech Support&lt;/span&gt;&lt;br /&gt;&lt;span style="border:0px;font-size:small;"&gt;Email:&lt;span style="border:0px;font-weight:inherit;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="mailto:support@rolustech.com" style="color:#009cde;background-color:transparent;border:0px;font-size:small;"&gt;support@rolustech.com&lt;/a&gt;&lt;span style="border:0px;font-size:small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="border:0px;font-size:small;"&gt;Website:&lt;span style="border:0px;font-weight:inherit;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/external-link.jspa?url=http://www.rolustech.com" rel="nofollow" style="color:#009cde;border:0px;text-decoration:none;font-size:small;" target="_blank"&gt;www.rolustech.com&lt;/a&gt;&lt;span style="border:0px;font-size:small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="color:#222222;background-color:#ffffff;font-size:small;"&gt; &lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>