Hi all. I have a cck field of type "select list". The "allowed values" are inserted/take via a function, called inside the "php code" field. It works: in the node/add/mycontent form I can see all "options" of the select list.
Now, I have a module that need to rebuild the values of that select list, but without success. I have created the hook_form_alter() function, I have altered the form and insert my #options values for that field, but when I see the page I found the old #options values. I have used devel modules and via kpr($form) I have see that when my alter form function is called the #options value is not present. I have changed the 'weight' in system table and my hook_form_alter is called after cck alter form (I have see it via dmp()).
Any help ?
M.