I think it would be good if we could provide a default-value for a field that a user creating new content cannot override.
I had tried to achieve this with cck field permissions, but when I don't give permission to create the field for the user, the default-value also isn't filled in.

If this is the wrong place and I should move the issue to the cck field permissions project, please tell me so or feel free to move the issue there.

Thank you.

Comments

appel’s picture

Subscribing. I'd like to be able to lock default field values for certain roles (like "currently logged in user" for example).
Related to this issue.

hillaryneaf’s picture

subscribe

CyberCore’s picture

i did this with jquery, maybe it helps you, too.

drupal_add_js('
 $(document).ready(function() {
$(\'#ID_OF_INPUTFIELD\').attr("disabled", true);
})
','inline');

greetings

Andreas B.

karens’s picture

Status: Active » Closed (won't fix)

A very old feature request for D5, won't do anything with this now.