/ Published in: PHP
Suppress the input format section of a node form when you don't really want users (even admin) to change it. Particularly handy for uncluttering forms with lots of CCK fields on them.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$form['field_fieldname'][0]['format']['#access'] = 0;