Skip to content

Instantly share code, notes, and snippets.

@pragyanshukukreti
Forked from eliotharper/thankyou.html
Created April 3, 2017 08:00
Show Gist options
  • Save pragyanshukukreti/fb8b8422ee72a9d8234aa6f2db0ebcef to your computer and use it in GitHub Desktop.
Save pragyanshukukreti/fb8b8422ee72a9d8234aa6f2db0ebcef to your computer and use it in GitHub Desktop.
retrieves form parameters and inserts into Data Extension
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">
body {
margin: 50px;
color: #555;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, sans-serif;
}
</style>
%%[
var @q5_overallHow5, @q6_didOur6
set @q5_overallHow5 = RequestParameter('q5_overallHow5')
set @q6_didOur6 = RequestParameter('q6_didOur6')
InsertData("SurveyResults",
"q5_overallHow5",@q5_overallHow5,
"q6_didOur6",@q6_didOur6
)
]%%
</head>
<body>
<h2>Thank you</h2>
<p>Thank you for completing the survey.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment