Customizing the form for a field in the content edit form
first of all use hook_form_alter to alter any form. so in your custom module something like this

function CUSTOMMODULENAME_form_alter(&amp;$form, $form_state, $form_id){
   if ($form_id == 'FORM_ID'){
     --
   }