click.cmpgnr.com
Open in
urlscan Pro
216.24.224.41
Public Scan
Submitted URL: http://click.cmpgnr.com/form?5ox16--g73a-cjo2283&sl=3a&t=1&ac=gkh3
Effective URL: http://click.cmpgnr.com/Public/UpdatePreferences.aspx?gkh3-1fo7i-cjo228-5ox1671&_v=2
Submission: On January 24 via api from US — Scanned from DE
Effective URL: http://click.cmpgnr.com/Public/UpdatePreferences.aspx?gkh3-1fo7i-cjo228-5ox1671&_v=2
Submission: On January 24 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMName: previewSmfForm — POST ./UpdatePreferences.aspx?gkh3-1fo7i-cjo228-5ox1671&_v=2
<form name="previewSmfForm" method="post" action="./UpdatePreferences.aspx?gkh3-1fo7i-cjo228-5ox1671&_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="Fv9VIoPo+h5evLW/XEpdAJ3WIW62nC6NgIB4tbW9jRHYf5AJQs5gQ6T2uEuS86yFmTR42fV9DrlxoDKZMfhX20GkhoNru6l9f6z7DU5gNgzsJ036Vu/0e4B/DTbUxzprpG93Ymua1Umz51LTYvK3Be4WRB7M9jrQmGP9Pn/Nf3elJhl9VgeN/s6PkDNLN5Ypg7BwTj1RsmSRwkTQ8uYpCqxGDCsN4+oYNje97ECyeseLLRdvWyHbfefcSV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wWk8Vg3ws6bVZZhXghqYHx+rXEDEforWiDtFIu6TdlblOfv6tf92l5PjRtXJL7RNlqc279V2bqgNr0Ex26oJzYKI9DRVbwOrVY+50CEqAXFF9xfyXxRLvS04Fxeb6yYIdpPlb1gfE7uYCRO+jjDxPUIeTqZowf5wld447Ic2CNSv2lEbzLb8NL1k4vxmcl3Isr3y0fGYiICZ51jb2twzqovv/x4ybi8/sUTVVHl+Se97StgsumlVySQ0qK7Ey3r70++8vHSSTk7Wl3Zcu1swEi1IfNPKoOrofXffxZAkY4iN2bXDrh3iR0RLmr2SagKl36Kt04JopcAt5AMTG5Mfy0MtlKliPQod4mCIHP83kf0Fic3HqT928111jz6UjH9OzM2ZYTWFlYOWUh7TOKX/xmjjjbobEdiLbkSgV1KMC62gkhg5J7ahgZMo+vHNmXQrcT87J/fofpK8775wa6livYyrK7d7UXgQ3KFzfYwEbLqO4uHSZcCG7WubQ/SwemOLEPYFoT2bT6CZrHeh1Cd3ItnerJ5lpruWsqzTPcOiWeJr/tLv++7lw+lWWiCKb1Sem1BYXp8ACEg4mVlldTspakz9liv/VOWNjvnfm19+VG5RxBrX2f8N9cL2NIwA48WHSPfQBYGgwIA3fS2UrHvVExeQQJrOmN5ve8//HppFS2O5Uyh3ns+Hq1RCjZcFlP4O1TzYQ6Xcgx5Zazalny3VTAWSMdlSj3HBLNC8Kgooe3S6oRODBBfn9VTTjTxdoqBMEopLlF5fI/SYf0O22K03ViWK85J/Dtq3h5chkudO4UBQ5F1HZfDJiLHjBddv46G1HLBigFzy6PCSFN7xBR7qi5rVBcHpwIYKkeX8y/r6c17Td/uS1JcAYf6i9QKZP4lhDbcFBVmnCJIHNP7lUoe/T/k86aVKbTmDJZIe68WcTJAYqLWmg==">
</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=637729441680000000" 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="ppGstf4X9lNseETMAV3hJVh+xZhGaM3GmwP+pGvz9PdeSCC8WM03DTvETzGAbOtYmxaU0S6tQ9zwniS7lfN8buHY2qZeQuX9BS+H38NE3JtDe+5KIGqRYM/k4AEWNb8g">
</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-1144907">First Name</label></td>
</tr>
<tr>
<td> </td>
<td class="cell-field"><input type="text" value="Sstrong" id="txt-1144907" name="txt-1144907" contactattributeid="1144907" contactattributelabel="First Name" class="longTxBox"></td>
</tr>
<tr class="control txBx ">
<td> </td>
<td class="cell-label"><label for="txt-1144912">Last Name</label></td>
</tr>
<tr>
<td> </td>
<td class="cell-field"><input type="text" value="" id="txt-1144912" name="txt-1144912" contactattributeid="1144912" 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-1144917">Email</label></td>
</tr>
<tr>
<td> </td>
<td class="cell-field"><input type="text" value="sstrong@mt.gov" id="txt-1144917" name="txt-1144917" contactattributeid="1144917" contactattributelabel="Email" class="longTxBox required email"></td>
</tr>
<tr class="control ddBx ">
<td> </td>
<td class="cell-label"><label for="txt-1144932">Email Format</label></td>
</tr>
<tr>
<td> </td>
<td class="cell-field"><select name="txt-1144932" id="txt-1144932" contactattributeid="1144932" 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?