Please read and refer to the Form API documentation. See #access attribute http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#access
Dear all,
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.
Thank you.
jayakumar