Skip to content

Instantly share code, notes, and snippets.

View matthendrix's full-sized avatar

Matt Emery matthendrix

View GitHub Profile
@matthendrix
matthendrix / pardot-form-handler-iframe.html
Last active February 16, 2016 12:14 — forked from afischoff/pardot-form-handler-iframe.html
Example of using a hidden iframe to pass data to a Pardot form handler before continuing with normal form submission.
<html>
<head>
<title>Pardot Example Form Handler Submit</title>
<!-- Include jQuery -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- Post to Pardot function -->
<script type="text/javascript">
// set the pardot form handler url and form element id