Why does form ID get displayed to drupal_set_message?
You may be having hook_form_alter(&amp;$form,&amp;$form_state,$form_id) in your code
possible code in your custom code will be

function hook_form_alter(&amp;$form,&amp;$form_state,$form_id) {
//just remove the below line to disable the message
drupal_set_message($form_id);


}