Why does form ID get displayed to drupal_set_message? I'm upgrading from 6 to 7 (thankless task!) and Ive noticed that in the admin section the name of any form that is on the page seems to get output to drupal_set_message (it appears in the green box) I thought this to be unusual but possibly deliberate on the part of the module author. However, in my custom module I have a form and when ever I go to the page the name of the form appears in the green status box.

Can anyone shed any light onto why this may be happening?
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);


}