<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/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>Disabling a field of type Text Area</title><link>https://www.aras.com/community/f/development/6513/disabling-a-field-of-type-text-area</link><description>Hello Experts, 
 I need to disable a field of type Text Area. I am using the below code on form populate event 
 var input1 = getFieldByName(&amp;quot;Test_Text_Area&amp;quot;); setTimeout(function() { input1 .getElementsByTagName(&amp;quot;input&amp;quot;)[0].disabled = true; }, 100);</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Disabling a field of type Text Area</title><link>https://www.aras.com/community/thread/3828?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 11:57:22 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c394e21a-d889-48f5-a693-f2d7f65d21a3</guid><dc:creator>Shekhar</dc:creator><description>&lt;p&gt;Thanks a lot for the quick help Angela. The solution&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;input1.getElementsByTagName(&amp;quot;textarea&amp;quot;)[0].disabled = true;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;worked.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Shekhar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling a field of type Text Area</title><link>https://www.aras.com/community/thread/3825?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 11:45:13 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:61ddaca3-3781-432b-964c-fd092fb339b7</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Shekhar,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;getElementsByTagName(&amp;quot;input&amp;quot;) only works for regular fields.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Try&amp;nbsp;&lt;span&gt;getElementsByTagName(&amp;#39;textarea&amp;#39;). I am not sure if this will work together with getFieldByName.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Maybe you can also&amp;nbsp;directly call your textarea:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;var input1 = document.getElementsByTagName(&amp;#39;textarea&amp;#39;)[0];&lt;/p&gt;
&lt;p&gt;Haven&amp;acute;t tested the samples, but I hope one of them works.&lt;/p&gt;
&lt;p&gt;Ciao,&lt;/p&gt;
&lt;p&gt;Angela&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>