By gr8cms on
hi all,
function advanced_contact_form_alter($form_id, &$form){
if($form_id == 'contact_mail_page')
{
// my code 1
}
else
// my code 2
}
when i visit contact page, "my code 2" will run, instead of "my code 1"!!
what is the code problem?
Comments
Hook_form_alter & contact form
Hi,
Can you send to me full code of module advanced? You wand to alter contact form for drupal 7 or other version.