Direct external contact form to a page instead of displaying a message

Permalink
Hi There,

I've setup an external contact form (I think using a template posted in the forums) which after submission, puts a message into the contact page:
$no_error_msg = 'Thank you for your enquiry – your message has been sent. We will be in touch with your download instructions.';


But now we'd like to send the user to the download page after submission. Is this easy to do? Just can't figure that out but can also see this in the same controller file:
if (!$e->has()) {
         Loader::library('3rdparty/Zend/Mail');
         $zm = new Zend_Mail(APP_CHARSET);
         $zm->setSubject($subject);
         $zm->setBodyText($txt_message);
         $zm->setBodyHtml($html_message);
         $zm->addTo($to);
         $zm->setFrom($email);
         $zm->send();
         $_SESSION['stamp'] = time();
         $this->set('no_error_msg', $no_error_msg);
         return true;
      } else {
         $errors = $e->getList(); 
         $this->set('errors', $errors);


Can I use the above to get $no_error_msg to go to a URL instead?

 
cmscss replied on at Permalink Best Answer Reply
Went with the Advanced Form add-on.

Worked great although custom templates seems to be an issue.