WebtoPersonCapture Redirecting is not working

Hello,

I got a question.
I made a Web to Person form in my SuiteCRM and everything is fine.

When I fill out the form and click on submit nothing is actually happening on the website, but the Lead is generated in the SuiteCRM.

So to generate the Lead is fine but the website is not changing.

Does anybody know what to do?

Greeting Mortiz

What actually you want after submit?

  1. An email shoot to client?
  2. Redirect to Thank you page?

After Submit I want to redirect to the thank you page.
I also put in the redirect_url but nothing is happening maybe something is wrong in the code of WebToPerson but i´m not sure which part

I know that I can do the email shooting with a campagne and it also works.