Consider I have 3 content type. The problem is that if I use form alter in a module , when I use:
drupal_set_message(t($form_id), 'status', FALSE);
in the mentioned hook, it shows me different set of form-IDs as message on showing each node add/edit form.
For example if I go to node type A add/edit form, drupal_set_message shows:
if I go to node type B add/edit form, drupal_set_message shows:
if I go to node type C add/edit form, drupal_set_message shows:
A_node_form B_node_form C_node_form
Showing them means that I can not really make an specific effect for each content type add/edit form by form_alter.
Note: I use OG module and B and C are the content types and A is the group type.
How should I solve it?