Project:Node Form Template
Version:6.x-1.0-beta3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi! I'd like to dynamically hide a CCK textarea field, based on some logic around user permissions and arguments passed into the edit form.

Here what I'm trying this in node-form.tpl.php:

$form['field_note'][0]['#type'] = 'hidden';

...But the textarea is still returned as part of $standard, and also in $field_note.

Any suggestions or advice would be great appreciated -- thanks in advance!

Comments

#1

+1
Subscribing :)

nobody click here