trk.cp20.com
Open in
urlscan Pro
216.24.224.100
Public Scan
Submitted URL: https://trk.cp20.com/form?2re67--8yn-1xluwb1&sl=4db&t=1&ac=gj1z
Effective URL: https://trk.cp20.com/Public/UpdatePreferences.aspx?gj1z-qtz-1xluwb-2re6726&_v=2
Submission: On January 26 via api from US — Scanned from DE
Effective URL: https://trk.cp20.com/Public/UpdatePreferences.aspx?gj1z-qtz-1xluwb-2re6726&_v=2
Submission: On January 26 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMName: previewSmfForm — POST ./UpdatePreferences.aspx?gj1z-qtz-1xluwb-2re6726&_v=2
<form name="previewSmfForm" method="post" action="./UpdatePreferences.aspx?gj1z-qtz-1xluwb-2re6726&_v=2" id="previewSmfForm" novalidate="novalidate">
<div>
<input type="hidden" name="RadScriptManager1_TSM" id="RadScriptManager1_TSM"
value=";;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35:en-US:14a9c2eb-bf69-4b0e-9aa0-eb85640f0e43:ea597d4b:b25378d2;Telerik.Web.UI, Version=2021.1.330.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4:en-US:6ddfaaf7-68e8-4aa2-a15d-336c3a8f9e4b:16e4e7cd:ed16cbdc:f7645509:88144a7a">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="tFERE8rcTZx4K6oFl3WXs3bFMZpOWQMCtTYaewoRYgLwd0Z/C9C2AwFBYt8lUe2kXIBjSZq3Hnyi1Y1HqfPWOOGwXGF4/N6Vu4LwgS19TLOmQ31Vi9NzKFXfF4XwI5SQbJcc4V/fau42QzGwyCoOUkg+K9Lq1BvbrYPJv4Q1zYJqBAlcO29Dkct+vDXdcRamHWKkF6P2VyBrqu3oPNAiE69JtVoHH/SDKFywxVYCrZukUxQ6mwTkkaPXI7KQnC2rt6A7S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lWLKzjpoqGxHArDXXxOrqe1KlWEtkcGZJ4q45PmC4XHJJ7T3znvQQMFA8POGiYB/EuU7R8Pb/tVODTaP4ILpKgbL5dTPSRwAT8W7k+DdcGDdQPRvd6fE9US7ucc5vJKymgTRC5006PZ9ucUwp17Q0bbo9JCig6NGWLjrvaUzTaPJiFpLZwbBIZNuFzxL0gu+zj9lNKBIk07lO82OHLelZeBkZCN1mTMp8AynXCGsvWid9OiyXR2ECD677cOpgSUci69CNP5JnRMRQguezKi9FnVdfpzEqKYzpI9bC3vZcyo6WGonkQIRvZnC06H1mLx0aqWZVDNTTEfB6wBmoH0KF/yZigs6ASZod6ZhNJg8icXE+8by7mEJRdGR2Nb7N22+brvqpCEEofJYn1cTi9gbuSALLiUskk0ZDWnzJ9Ui5DRp+XdT/TgGLglTOSwD598PQQhiQNy8sZBKpyfzWRKXP+k7YtySnrMzon+VYmJ0SaK1xCl/Fe7Hb038T0t8DFdERQeRDKeB1zzBPfxYq4tIM/fUNiJEQZoB+BJHFZn6ekj5piU/1MG0vJG5dbVE5viJiVaukt91N0/L/YwewrEwjIb7Bm7NBa2hsFrcxWLAbYqW2kg8HWFa7pFsKR6euQ8QtydQZ0qCFSxUI/Ye8CnzOYaxlqBAcOOh/UumD++IqwAEud+7iz0flsd2UZXFGSxFCpBMiC8GpqqxswpfmTWUeV2To/PiD6DVZHVyR32DnbeOSrHamnU2MKCGXJlb1G+bpJh+a5t6wwbuEK6AHQopiaWkBt1PdCXpUnq2d5I47jajyEwOQlM5zdNUaD0cRmYSRD6bAzbTydcfj2GUu4jpktpTgV7eLIopo3El59Bfq2f7DbsOabzHpyuJyhRc7/lpvdY5RibVkTjX0CcvVviOZeEm9Hp5x7sn3x84zcV77znPqe/rryUmKFgc/XmynzK970ojntslbE=">
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['previewSmfForm'];
if (!theForm) {
theForm = document.previewSmfForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<script src="/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZIxPeYW2qNBIsNvawnoPpsp7nE1crTRbrT_exQGl6oyufGteVhy89QBwgdxlQ7TYRg2&t=637729440413207958" type="text/javascript"></script>
<script
src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a14a9c2eb-bf69-4b0e-9aa0-eb85640f0e43%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2021.1.330.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a6ddfaaf7-68e8-4aa2-a15d-336c3a8f9e4b%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>
<div>
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="1912A01A">
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="MhEG9mvcg+zhopHgQvPBQb+z8M2WAzXhQG+OnvQRaU+QUsH2Tg3dA/KLYWAGEjrjpvAkodeBqISP3cZwOjK8/Ck6vXnsxaxpH0Ku9rskDEwn78c0KnZEJ8U3krbJpD3g">
</div>
<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('RadScriptManager1', 'previewSmfForm', ['tRadAjaxManagerSU', ''], [], [], 90, '');
//]]>
</script>
<!-- 2021.1.330.45 -->
<div id="RadAjaxManagerSU" style="display: none;">
<span id="RadAjaxManager" style="display:none;"></span>
</div>
<div id="RadAjaxLoadingPanel" class="RadAjax RadAjax_Default" style="display:none;">
<div class="raDiv">
<img id="LoadingPanelImage" class="LoadingPanelImage" src="../Skins/loading.gif" alt="Loading ..." style="border-width:0px;">
</div>
<div class="raColor raTransp">
</div>
</div>
<div id="formPanel">
<div id="Messages" style="text-align: center">
<span id="clientSideErrorMessage" class="ErrorMessageArea" style="display: none;"></span>
</div>
<div id="formStruct">
<div id="smf">
<!-- background: common to all forms -->
<div id="smf-background">
<!-- foreground: common to all forms -->
<div id="smf-foreground">
<!-- begin: Update Preferences Form -->
<div id="smf-update-preferences" class="smf-form">
<!-- section: Language dropdown-->
<!-- section: header -->
<div class="section" id="header">
<!-- logo -->
<div id="smf-logo">
<div id="smfLogo"></div>
</div>
<div id="smf-header-text">
<div id="smfSubscriptionHeader">
<h1>Update Preferences</h1>
<p class="description">Use this form to update your preferences and personal information.</p>
</div>
</div>
</div>
<div id="mailingListContainer">
<!-- section: mailing lists -->
<div class="section" id="mailinglist">
<div id="smfSubscriptionMailinglist">
</div>
</div>
</div>
<!-- section: user profile -->
<div class="section" id="userprofile">
<div id="smfSubscriptionProfile">
<h2>To update your profile, edit the information below:</h2>
<table class="controls" width="100%">
<tbody>
<tr class="control txBx ">
<td> </td>
<td class="cell-label"><label for="txt-145466">First Name</label></td>
</tr>
<tr>
<td> </td>
<td class="cell-field"><input type="text" value="Jaclyn" id="txt-145466" name="txt-145466" contactattributeid="145466" contactattributelabel="First Name" class="longTxBox"></td>
</tr>
<tr class="control txBx ">
<td> </td>
<td class="cell-label"><label for="txt-145471">Last Name</label></td>
</tr>
<tr>
<td> </td>
<td class="cell-field"><input type="text" value="Proudfoot" id="txt-145471" name="txt-145471" contactattributeid="145471" contactattributelabel="Last Name" class="longTxBox"></td>
</tr>
<tr class="control txBx email required">
<td class="cell-required"><img src="images/icon_RequiredField.png" alt="required"></td>
<td class="cell-label"><label for="txt-145476">Email</label></td>
</tr>
<tr>
<td> </td>
<td class="cell-field"><input type="text" value="jaclynproudfoot@ebgames.ca" id="txt-145476" name="txt-145476" contactattributeid="145476" contactattributelabel="Email" class="longTxBox required email"></td>
</tr>
<tr class="control ddBx ">
<td> </td>
<td class="cell-label"><label for="txt-145491">Email Format</label></td>
</tr>
<tr>
<td> </td>
<td class="cell-field"><select name="txt-145491" id="txt-145491" contactattributeid="145491" contactattributelabel="Email Format">
<option value="2">Html</option>
<option value="1">Text</option>
<option value="3" selected="selected">Both</option>
</select></td>
</tr>
<tr id="descriptionRow">
<td class="cell-required"> </td>
<td class="description"><img src="images/icon_RequiredField.png" alt="required"> Required Fields</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- section: footer -->
<div class="section" id="footer">
<div id="smfSubscriptionFooter">
<div><input type="submit" value="Update" id="smf-subscription-submit"></div>
<div id="linkWrapper"><a id="lnk-unsubscribe" href="javascript:void(0);">or Unsubscribe</a></div>
</div>
</div>
</div>
<!-- end: Update Preferences Form -->
</div>
</div>
</div>
</div>
<input type="hidden" name="hfValidationMessage" id="hfValidationMessage">
</div>
<script type="text/javascript">
var ajaxCallInProcess = false;
var showFormTimeoutHandler;
$(function() {
jQuery.validator.setDefaults({
errorPlacement: function(error, element) {
var trigger = element.next('.ui-datepicker-trigger');
if (trigger.length > 0) {
var parentRow = trigger.parent().parent();
$('<tr><td></td><td id="datePickerError"></td></tr>').insertAfter(parentRow);
$("#datePickerError").html(error);
} else error.insertAfter(element);
}
});
//Localize validation message
$.validator.messages.email = "Please enter a valid email address";
$.validator.messages.required = "This field is required";
$.validator.messages.date = "Please enter a valid date.";
$.validator.messages.number = "Please enter a valid number.";
});
$(document).ready(function() {
InitUI();
$('#clientSideErrorMessage').hide();
$("#previewSmfForm").validate({
errorClass: "showErrorField"
});
$("#lnk-unsubscribe").prop("href", "javascript:void(0);").click(function() {
CallUnsub();
});
$("a:not(#lnk-unsubscribe)").attr('target', '_blank');
setupValidation(".confirmEmail", ".email");
SetupMobilePhoneValidation();
setupValidation(".confirmMobilePhone", ".mobilePhone");
$("#dialog").dialog({
autoOpen: false,
modal: true
});
});
function setupValidation(confirmFieldName, fieldName) {
var $confirm = $(confirmFieldName);
if ($confirm.length == 0) return;
var name = $confirm.attr("name");
var $class = $("#smfSubscriptionProfile input" + fieldName + "[type=text]");
var id = $class.attr("id");
$("[name='" + name + "']").rules("add", {
equalTo: "#" + id
});
$class.bind("paste", function(e) {
e.preventDefault();
});
}
$.validator.addMethod("regex", function(value, element, regexp) {
var re = new RegExp(regexp);
return this.optional(element) || re.test(value);
}, "Please check your input.");
function SetupMobilePhoneValidation() {
var $mobilePhoneClass = $("#smfSubscriptionProfile input[type=text].mobilePhone");
var mobilePhoneId = $mobilePhoneClass.attr("id");
if ($mobilePhoneClass.length > 0 && $("#" + mobilePhoneId).hasClass("required")) {
$("#" + mobilePhoneId).rules("add", {
regex: "^" + "\\+?[1-9]\\d{1,14}$"
});
$.extend($.validator.messages, {
regex: "Please enter valid mobile phone."
});
}
}
/////// AJAX Calls
function ConfirmCallUpdate() {
if ($('#chk-consentEmailCheckbox').not(':checked').length && $('#chk-consentMobilePhoneCheckbox').not(':checked').length) {
// all not selected
ShowConfirmDialog();
} else {
CallUpdate();
}
}
function ShowConfirmDialog() {
$("#dialog").dialog({
height: 250,
width: 400,
buttons: {
"Yes": function() {
$(this).dialog("close");
CallUpdate();
},
"Cancel": function() {
$(this).dialog("close");
}
}
});
$("#dialog").dialog("open");
}
function CallUpdate() {
$("#previewSmfForm").validate({
errorClass: "showErrorField"
});
if ($("#previewSmfForm").valid()) {
//create json object
var jsonArray = [];
var mailingArray = [];
var fieldsArray = [];
$("#mailinglist").find("input[type='checkbox']:checked").each(function(index) {
mailingArray.push($(this).prop("id"));
});
$("#userprofile").find("input, select").each(function(index) {
$this = $(this);
var isRequired = $this.hasClass("required") ? "1" : "0";
var isEmail = $this.hasClass("email") ? "1" : "0";
var isMobilePhone = $this.hasClass("mobilePhone") ? "1" : "0";
var otherValue = "";
var isSelected = "";
var isMultiSelect = "";
var fVal = $this.val();
var elementID = $this.prop("id");
// Handle the multiselect other value textbox
if ($this.data("type") === "multiselect" && $this.data("input") === "otherText") {
otherValue = $this.val()
fVal = "";
elementID = $this.data("contactattributeid");
isMultiSelect = "1";
}
if ($this.is(":checkbox")) {
// handle multiselect checkboxes
if ($this.data("type") === "multiselect") {
if ($this.is(":checked")) {
isSelected = "1";
} else {
isSelected = "0";
}
elementID = $this.data("contactattributeid");
fVal = $this.val();
isMultiSelect = "1";
} else {
// handle regular checkbox
fVal = $this.is(":checked") ? "1" : "0";
}
}
fieldsArray.push({
id: elementID,
value: fVal,
isRequired: isRequired,
isEmail: isEmail,
msOtherValue: otherValue,
msIsSelected: isSelected,
msIsMultiSelect: isMultiSelect,
isMobilePhone: isMobilePhone
});
});
$('#clientSideErrorMessage').hide();
jsonArray.push({
type: "UpdatePreferences",
mailingIds: mailingArray,
fields: fieldsArray
});
var jsonStr = JSON.stringify(jsonArray);
DoAjaxCall(jsonStr);
} else {
$("#previewSmfForm").validate({
errorClass: "showErrorField"
});
}
}
function CallUnsub() {
DoAjaxCall("Unsubscribe");
}
function DoAjaxCall(args) {
//$.log("DoAjaxCall(" + args + ") ?");
if (ajaxCallInProcess) {
// $.log(" ==> Call Skipped, ajax Call is already Processing a request");
} else {
$(document).ready(function() {
try {
// $.log(" ==> Set ajaxCallInProcess to true");
ajaxCallInProcess = true;
var radAjaxManagerJQ = $("#RadAjaxManager");
if (radAjaxManagerJQ.length > 0) {
radAjaxManagerJQ.ready(function() {
var radAjaxManager = radAjaxManagerJQ[0].control;
if (radAjaxManager != null) {
//$.log(" ==> DoAjaxCall(" + args + ")");
radAjaxManager.ajaxRequest(args);
}
});
}
} catch (error) {
//$.log(" ==> Ajax call error:" + error);
}
});
}
}
function ResponseEnd(sender, eventArgs) {
ajaxCallInProcess = false;
//$("#messageArea").css("display", "none");
}
function InitUI() {
//$.log("initUI()");
//bind our simple <input id="smf-subscription-submit"> button with a click / return false to avoid the postback
$("#smf-subscription-submit").bind("click", function() {
ConfirmCallUpdate();
return false;
});
}
function RedirectTo(redirectToUrl) {
setTimeout(function() {
window.location = redirectToUrl;
}, 500);
}
function showError(args, msg) {
switch (args) {
case 'emailInUse':
alert("The email address entered is already subscribed and cannot be used. Enter a different email address and try again");
break;
case 'formFieldCount':
$('#smf').hide();
$('#clientSideErrorMessage').show().html("There was an error processing the form");
break;
case 'requiredFields':
alert("There are missing required fields. Complete all required fields and try again");
break;
case 'invalidEmail':
alert("This email has been put on global 'do not email' list and cannot be added at this time.");
break;
case 'invalidPhone':
alert("Please enter a valid phone number");
break;
case 'ajaxError':
$('#smf').hide();
$('#clientSideErrorMessage').show().html("There was an error processing the form");
break;
case 'UniqueKey':
alert("There was an error processing the form");
break;
}
}
function setCheckBox(control) {
var txtBox = $(control);
// Get the accompanying checkbox for the Other textfield
var chk = $("input:checkbox[name='" + txtBox.attr('id') + "']");
// Check the Other checkbox when adding text
if (!chk.attr('checked')) {
chk.prop('checked', true);
}
// Clear the checkbox if textbox is empty
if (txtBox.val() === "") {
chk.prop('checked', false);
}
}
</script>
<script type="text/javascript">
//<![CDATA[
window.__TsmHiddenField = $get('RadScriptManager1_TSM');
Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadAjaxManager, {
"_updatePanels": "",
"ajaxSettings": [],
"clientEvents": {
OnRequestStart: "",
OnResponseEnd: "ResponseEnd"
},
"defaultLoadingPanelID": "RadAjaxLoadingPanel",
"enableAJAX": true,
"enableHistory": false,
"links": [],
"styles": [],
"uniqueID": "RadAjaxManager",
"updatePanelsRenderMode": 0
}, null, null, $get("RadAjaxManager"));
});
Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadAjaxLoadingPanel, {
"initialDelayTime": 0,
"isSticky": false,
"minDisplayTime": 0,
"skin": "Default",
"uniqueID": "RadAjaxLoadingPanel",
"zIndex": 90000
}, null, null, $get("RadAjaxLoadingPanel"));
});
//]]>
</script>
</form>
Text Content
UPDATE PREFERENCES Use this form to update your preferences and personal information. TO UPDATE YOUR PROFILE, EDIT THE INFORMATION BELOW: First Name Last Name Email Email Format HtmlTextBoth Required Fields or Unsubscribe Confirmation Requiredclose You have removed yourself from all communication. Are you sure you want to proceed?