drupaldrupal-6drupal-contact-form

Drupal : customize status messages (of contact form)



I am setting up a website using drupal 6 and trying to be minimalistic. I use contact form, and it works pretty well. Once the message is sent, it is redirected to the front page of my site with a message "Your message has been sent.".(with a div messages status). How can one change it like,

  1. customize the message content
  2. instead of redirecting to the home page, display a node (another page)

thanks for any suggestion.


Solution

  • For more advanced forms and customisation like you mention above, you should try webform. Webform has the ability to redirect a successful submission to another URL and have a custom status message as well.