Skip to content

Instantly share code, notes, and snippets.

@zuzannamj
Created April 6, 2020 10:28
Show Gist options
  • Save zuzannamj/5007b2b20b9f167d4cf8efe003d25e6e to your computer and use it in GitHub Desktop.
Save zuzannamj/5007b2b20b9f167d4cf8efe003d25e6e to your computer and use it in GitHub Desktop.
%%[
SET @Submit = RequestParameter("Submit")
IF @Submit != "Success" THEN
]%%
<h2>Email:</h2>
<form action="%%=RequestParameter('PAGEURL')=%%" method="GET">
<label for="email">Email address:</label>
<input type="email" id="email" name="email" required="yes">
<button type="submit" name="Submit" id="Submit" value="Success">Submit</button>
</form>
%%[
ENDIF
]%%
%%[
SET @email = RequestParameter("email")
IF @email != "" THEN
]%%
<! –– fire entry event script placeholder ––>
%%[
ENDIF
]%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment