Created
April 1, 2017 23:04
-
-
Save eliotharper/b6687de5ca3d9eb686f9be95e820bbc9 to your computer and use it in GitHub Desktop.
retrieves form parameters and inserts into Data Extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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