View Full Version : form hidden field redirection to parent page

03-03-2012, 04:05 PM
I have a form in an iframe that submits nicely. Here is one of the hidden fields that gives the page to redirect to after submitting the form:

<input type="hidden" name="rtrn" value="http://www.domain.com/thanks.html" target="_parent">

The parent target doesn't work, does anyone know how I get the thanks page to replace the page containing the iframe?

03-03-2012, 04:29 PM
The target attribute only works in anchor links and forms. Try adding it to the form tag.

03-04-2012, 10:29 PM
Yes, thanks that worked.