Changing cck form field options i'd like to dynamically change the option labels of a cck form field in the edit node form.

i allready found ou, that i can't do this in hook_form_alter, since the cck fields aren't in the form object at this time. so i added a after_build function. in this function, i'm trying to set the option labels like this:

function _mymodule_after_build($form, &amp;$form_state) {
   $form['field_product_alternativtitle']['value']['#options'][1] = "foo";
   $form['field_product_alternativtitle']['value']['#options'][2] = "bar";
   $form['field_product_alternativtitle']['value']['#options'][3] = "meh";  
   return $form;
}


This, however doesn't change the output of the form in any way.
I guess this is logical, since my function gets calles AFTER the BUILD of the form.

so my question is, how can i achieve my goal?
I would check a couple of things.


For sanity, make sure that your after_build function is being called by adding a drupal_set_message().
The labels will only change in the Edit form if your values are literally '1', '2' and '3'. Once you save the form, however, drupal will save the original value, not your new label.

function mymodule_after_build($form, &$form_state) {
  $form['field_some_options']['value']['#options'][1] = 'hiyo';
  return $form;
}