Skip to content

Instantly share code, notes, and snippets.

@SteveRyan-ASU
Created September 5, 2024 17:29
Show Gist options
  • Save SteveRyan-ASU/632714025cabfea713d44903989ff37c to your computer and use it in GitHub Desktop.
Save SteveRyan-ASU/632714025cabfea713d44903989ff37c to your computer and use it in GitHub Desktop.
ASU SFMC Data Extension submission form
<!--
Example HTML form uses styles from the ASU UDS system for better/proper formatting
Unique elements for each form: _clientID, _deExternalKey, _successURL, _errorURL
Ensure that the input name fields match the names of the fields in the data extension.
TODO: Form elements are currently missing data layer tracking codes that are required within ASU/Unity
-->
<form class="uds-form uds-form-white" action="https://cl.s7.exct.net/DEManager.aspx" name="subscribeForm" method="post">
<input type="hidden" name="_clientID" value="#" />
<input type="hidden" name="_deExternalKey" value="#" />
<input type="hidden" name="_action" value="add/update" />
<input type="hidden" name="_returnXML" value="0" />
<input type="hidden" name="_successURL" value="#" />
<input type="hidden" name="_errorURL" value="#" />
<div class="form-group">
<label for="sfmc-de-email">Email address</label>
<input type="email" name="Email" class="form-control" id="sfmc-de-email" placeholder="[email protected]" />
</div>
<div class="form-group">
<label for="sfmc-de-firstname">First name</label>
<input type="text" name="First Name" class="form-control" id="sfmc-de-firstname" placeholder="First Name" />
</div>
<div class="form-group">
<label for="sfmc-de-lastname">Last name</label>
<input type="text" name="Last Name" class="form-control" id="sfmc-de-lastname" placeholder="Last name" />
</div>
<button class="btn btn-maroon" type="submit" value="Subscribe">Subscribe</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment