Load Redirect Page in Same Frame

  • Profile Image
    dmcintyre4
    Asked on February 09, 2017 at 03:06 PM

    Hi there,

    I have a form embedded into an internal website that allows the user to enter in info and submit. I have the form redirecting back on itself after submission (instead of a thank you page) so that the user can enter another form if needed.

    My issue is that when the form reloads it takes over the entire browser window instead of staying withing it's frame. Is there any way to force the redirect to load in its frame?

    Thank you,

    Dan

  • Profile Image
    Kevin_G
    Answered on February 09, 2017 at 05:15 PM

    I have been testing this and did not find a way to redirect after the submission within the iFrame, even when there're ways to redirect an iFrame without opening a new tab or redirecting the whole page such as parent="_self", parent="_top" and others they do not work. 

    I found some ways to achieve this using JavaScript code, but it is a bit complex to achieve and you would require to get the source code of your form. 

    What you could do is to redirect the form to the webpage where the form has been embedded on, this way you would avoid to redirect to the direct link of the form.