Page 1 of 1

FeedbackForm: redirect after submision

Posted: Thu Dec 14, 2006 3:03 pm
by RazorMedia
Is there a way or hack that enables FeedbackForm to redirekt to another page in the CMS after submit?

Re: FeedbackForm: redirect after submision

Posted: Sun Aug 19, 2007 6:35 pm
by CNBorn
Sorry to bother, I knew that the FormBuilder module have this function now, But I want to know how to ..

I am trying to write a module with such function, I tried a lot to do such a thing, but i failed.

I checked FormBuilder's sourcecode, It is just $this->RedirectContent ? When I use this, My module is just REDIRECT, not continuely responding my submitted request...  ???

Anyone gives me some point? Thanks.

Re: FeedbackForm: redirect after submision

Posted: Sun Aug 19, 2007 9:01 pm
by Duketown
In the module Question there seems something that should work (see action.default_formsubmit.php).
I tried the same:
$this->RedirectForFrontend($id,$returnid,'default',$params, true);
But I didn't get it to work (I added the parameter true as last, which is not in the mentione Question PHP).

More on the RedirectForFrontend can be found via: http://www.cmsmadesimple.org/apidoc/CMS/CMSModule.html#RedirectForFrontEnd.

Let us know if you get it to work.