term reference field with empty select list We need to make the term reference field select list to have no options because the vocabulary have big number of terms which makes the form loads very slow due to getting the term list from DB and render them.

That field is being updated by ajax so we need it start clean with no DB operation to increase performance and page loads fast.


  Implementing: hook_field_attach_form or hook_form_alter


has no effect as we see the form is built.

what we need i to prevent DB reading list.

if($form_id == 'field_ui_field_edit_form'){
      $form['instance']['default_value_widget']['field_brand']['und']['#options'] = array(0 =&gt; t('No'));
} 


Above code didn't change any thing in node/add form which still list all brands

Is it posible in drupal?
Try with the following code

function yourmodule_form_alter(&amp;$form, &amp;$form_state, $form_id){
 if($form_id == 'your-edit-form-id'){
   $form['your-select-feild']['#options'] = array();
 }
}


Hope this will help you..