[support] make title not editable

Joel Willers joel.willers at sigler.com
Tue Aug 21 12:32:20 UTC 2012


There's also AutoNodeTitle. I'd link to it, but either my internet is tired, or D.O is sleepy. It allows you to hide the title field and use tokens to create a title.

Joel 

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Ms. Nancy Wichmann
Sent: Monday, August 20, 2012 8:23 PM
To: support at drupal.org
Subject: Re: [support] make title not editable

I was thinking of the "#disabled" attribute.

 
Nancy 
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.

________________________________________
From: Michael Prasuhn

No, that just means that they can't see the form field, but there is nothing preventing them from posting such data and the form would gladly accept such data.

A better approach would be to use the #access property from hook_form_alter().


More information about the support mailing list