Submit iframe Form To External Site

Submit iframe Form To External Site

Many advertising services and external APIs provide iframes to be embedded on external sites, but also require some data to be transferred from one site to the other.

iframe tags are being restricted for many reasons, mostly security. There are iframe busters (or framekillers) that export the iframe behavior in the parent window, takeover the browser, so to speak.

If you need something ‘in-between’, i.e. a controlled iframe on site 1 which, when submitted, loads a new browser page with the request data valid, then add a _parent target to the form, i.e.:

<form method=”POST”
action=”http://example.org/someurl.php”
target=”_parent”>
// form data here
</form>


Mario Peshev is a 5x CEO and operator, founder of DevriX and Growth Shuttle, global value creation advisor, angel investor, and author of “MBA Disrupted.”

His original background in engineering rode the wave of IT entrepreneurship in the last 25 years, from product and service entrepreneurship through acquiring and selling businesses, to investing in global startups like beehiiv, doola, the Stacked Marketer, Alcatraz, SeedBlink.

Peshev spent over 10,000 hours in consulting and training contracts for mid-market and enterprise organizations like VMware, SAP, Software AG, CERN, Saudi Aramco since 2006. His books and guides are referenced in over 50 universities in North America, Europe, and Asia.


Follow Mario on social:

Latest Editions:

Latest Answers: