I'm editing a Drupal site, it has a hardcodeded contact form which I would like to have the same behaviour than the default contact form (applying filters, inserting info in the database and sending email).
Maybe it is an easy question but I don't know how to do it.
Thanks!