[support] textarea readonly

michel ziobudda morelli michel at ziobudda.net
Wed May 3 19:46:02 UTC 2006


Karthik ha scritto:
>> Yes.  One method is to add an attributes element to your form array. 
>> For example:
>>
>> $form['yourform'] = array('#type' => 'textarea',
>>                            '#attributes' => array('disabled' =>
>> 'disabled'),
>>                           );
> 
> or array('readonly' => 'readonly')
> 
> Michel, you should probably ask these questions on the developers' list.

Tnx for the reply but why in developers' list ??? Is not the developers'
list only for who developer drupal core ???

M.
-- 
Michel 'ZioBudda' Morelli                       michel at ziobudda.net
http://www.ziobudda.net                         ICQ: 58351764
http://www.phpbook.it                           FAX: 0291390660
http://www.ajaxblog.it				TEL: 3939890025


More information about the support mailing list