Closed (duplicate)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.5
Component:
nodereference.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2009 at 17:33 UTC
Updated:
28 Oct 2009 at 11:08 UTC
Comments
Comment #1
markus_petrux commentedPlease, read this:
- Code snippet: How to set the disabled attribute of a CCK field
Comment #2
asmdec commentedMy question is: Why the FAPI process handler of the CCK field won't transfer the #disabled attribute to its children elements? It's not possible?
In nodereference_select_process function we have the following code and comment:
Why couldn't we set the '#disabled' attribute here too??
Comment #3
markus_petrux commented#336355: Unable to add '#attributes' or use '#disabled' = true via hook_form_alter()