2

I have several cck fields that shouldn't be modified once after the node is created. For example like fields for gender, name, birth date and so on. Is it possible to hide or make them unable to edit those fields by users after the node creation? I thought maybe I could do that by Rules but unfortunately it seems that there is no action for hiding cck field forms though it has the condition for "if field has a value".

2

I think the link below will be helpful to you..

Code snippet: How to set the disabled or readonly attribute of a CCK field

Check this link and let me know if in case of any query.

Thanks.

0

I've not used the module, but Field Permissions appears to create the level of permissions you are looking for, eg, it grants users permission to CREATE a CCK field value separate from the permission to EDIT it.

  • Thanks. But I think if I don't give users the permission to edit the fields they will not be able to enter values on node creation as well. – chinita7 Jan 20 '12 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.