Skip to content

Instantly share code, notes, and snippets.

@eliotharper
Created April 1, 2017 23:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eliotharper/b6687de5ca3d9eb686f9be95e820bbc9 to your computer and use it in GitHub Desktop.
Save eliotharper/b6687de5ca3d9eb686f9be95e820bbc9 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