check this resource http://drupal.org/node/726282 you will find a very useful description about CCK fields when form is loaded, and his relation with the function to alter forms, called hook_form_alter()hook_form_alter()
. In few words, you must also use an in few words, you must also use an after_build() function.
function.