Please read and refer to the Form API documentation. See #access attribute <a href="http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#access">http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#access</a> <br clear="all">
<div><br></div><font class="Apple-style-span" color="#333333"><br></font><div class="gmail_quote">On Tue, Jan 11, 2011 at 6:52 AM, jayak kumar <span dir="ltr">&lt;<a href="mailto:jayakumarstudies@gmail.com">jayakumarstudies@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear all,<br>I want to disable any fields under some conditions. i want to do either disable or make it invisible. Please help me giving some code for this.<br>
<br>Thank you.<br>jayakumar<br>
</blockquote></div><br>