Form in iframe : redirection issue


I have successfuly integrated my own form in a html bloc, with an iFrame (on a wordpress website). A conversion pixel is also well integrated and firing well on the thankyou page.

Though there is one issue remaining : when a visitor hits the send button, the thankyou page is displayed on the same page, withing the same iFrame. But I need the visitor to be redirected to a special /thankyou page.

Is there a way to redirect the visitor outside of the iFrame, to a new page of my website ?

Thanks for your help,

Hey @Gicspy,

You need to add a target attribute to the form in your iFrame.



Thanks, works like a charm!