jQuery371016461115539286897_1778500482702({"Id":1469,"Vid":1469,"Status":"approved","Name":"Preference Center form","Description":"","Layout":"left","GutterWidth":10,"OffsetWidth":10,"HasTwoButtons":true,"SubmitLabel":"Submit","ResetLabel":"Clear","ButtonLocation":"120","LabelWidth":100,"FieldWidth":150,"ToolTipType":"none","FontFamily":"Helvetica, Arial, sans-serif","FontSize":"13px","FontColor":"#333","FontUrl":null,"LineMargin":10,"ProcessorVersion":2,"CreatedByUserid":3979,"ProcessOptions":{"language":"English","locale":null,"profiling":{"isEnabled":false,"numberOfProfilingFields":3,"alwaysShowFields":[]},"socialSignOn":{"cfId":null,"codeSnippet":"","isEnabled":false,"enabledNetworks":[]},"isWcagCompliant":false,"isAccessibilityImprovementsEnabled":false},"EnableDeferredMode":0,"EnableCaptcha":0,"EnableGlobalFormValidationRule":1,"ButtonType":null,"ButtonImageUrl":null,"ButtonText":null,"ButtonSubmissionText":"Please Wait","ButtonStyle":{"id":11,"className":"mktoSimple","css":".mktoForm .mktoButtonWrap.mktoSimple .mktoButton {\ncolor:#fff;\nborder:1px solid #75ae4c;\npadding:0.4em 1em;\nfont-size:1em;\nbackground-color:#99c47c;\nbackground-image: -webkit-gradient(linear, left top, left bottom, from(#99c47c), to(#75ae4c));\nbackground-image: -webkit-linear-gradient(top, #99c47c, #75ae4c);\nbackground-image: -moz-linear-gradient(top, #99c47c, #75ae4c);\nbackground-image: linear-gradient(to bottom, #99c47c, #75ae4c);\n}\n.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {\nborder:1px solid #447f19;\n}\n.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:focus {\noutline:none;\nborder:1px solid #447f19;\n}\n.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:active{\nbackground-color:#75ae4c;\nbackground-image: -webkit-gradient(linear, left top, left bottom, from(#75ae4c), to(#99c47c));\nbackground-image: -webkit-linear-gradient(top, #75ae4c, #99c47c);\nbackground-image: -moz-linear-gradient(top, #75ae4c, #99c47c);\nbackground-image: linear-gradient(to bottom, #75ae4c, #99c47c);\n}\n","buttonColor":null},"ThemeStyle":{"id":2,"displayOrder":1,"name":"Simple","backgroundColor":"#FFF","layout":"left","fontFamily":"Helvetica, Arial, sans-serif","fontSize":"13px","fontColor":"#333","offsetWidth":10,"gutterWidth":10,"labelWidth":100,"fieldWidth":150,"lineMargin":10,"useBackgroundColorOnPreview":false,"css":".mktoForm fieldset.mkt3-formEditorFieldContainer{border: solid 1px gray;}.mktoForm fieldset.mkt3-formEditorFieldContainer legend{padding:0 1em;}","href":"css\/forms2-theme-simple.css","buttonStyleId":11},"ThemeStyleOverride":"\u003Cscript\u003E\n   \/\/ MktoForms2.loadForm(\"\/\/app-sjst.marketo.com\", \"YOUR_MUNCHKIN_ID\", 1215);\n\nMktoForms2.whenReady(function (form) {\n  const formEl = form.getFormElem();\n  const emailField = formEl.find(\"#Email\");\n  const checkboxIds = [\"mktoCheckbox_9168_0\", \"mktoCheckbox_9171_0\", \"mktoCheckbox_9166_0\", \"mktoCheckbox_9172_0\", \"mktoCheckbox_9170_0\", \"mktoCheckbox_9167_0\", \"mktoCheckbox_9169_0\"];\n  const checkboxes = checkboxIds.map(id =\u003E formEl.find(\"#\" + id));\n  const optOut = formEl.find(\"#mktoCheckbox_9165_0\");\n\n \n\nform.onValidate(function (isValid) {\n  if (!isValid) return;\n\n  const email = emailField.val().trim();\n\n  \/\/ Check if empty\n  if (email === \"\") {\n    alert(\"Please enter your email address.\");\n    form.submittable(false);\n    return;\n  }\n\n  \/\/ Validate email format\n  const emailValid = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/.test(email);\n  if (!emailValid) {\n    alert(\"Please enter a valid email address.\");\n    form.submittable(false);\n    return;\n  }\n\n  \/\/ Validate checkboxes\n  const anyChecked = checkboxes.some(cb =\u003E cb.is(\":checked\")) || optOut.is(\":checked\");\n  if (!anyChecked) {\n    alert(\"Please select at least one preference or opt out.\");\n    form.submittable(false);\n    return;\n  }\n\n  form.submittable(true); \/\/ allow submission\n});\n\n\n\n  \/\/  Auto-check opt out if all checkboxes selected\n  checkboxIds.forEach(id =\u003E {\n    formEl.find(\"#\" + id).change(function () {\n      const allChecked = checkboxIds.every(i =\u003E formEl.find(\"#\" + i).is(\":checked\"));\n      optOut.prop(\"checked\", allChecked);\n    });\n  });\n\n  \/\/  Opt-out toggles all other checkboxes OFF when selected\n  optOut.change(function () {\n    const isChecked = optOut.is(\":checked\");\n    checkboxIds.forEach(id =\u003E {\n      formEl.find(\"#\" + id).prop(\"checked\", !isChecked ? true : false);\n    });\n  });\n});\n\n\u003C\/script\u003E","LiveStreamSettings":null,"rows":[[{"Id":10061,"Name":"Email","IsRequired":true,"Datatype":"email","Maxlength":255,"InputLabel":"Email Address:","InputInitialValue":"","InputSourceChannel":"constant","FieldWidth":380,"ValidationMessage":"Must be valid email. \u003Cspan class='mktoErrorDetail'\u003Eexample@yourdomain.com\u003C\/span\u003E"}],[{"Id":10062,"Name":"HtmlText_2025-08-19T10:30:19.444Z","Datatype":"htmltext","InputInitialValue":"","LabelWidth":260,"ProfilingFieldNumber":0,"Htmltext":"\u003Cspan style=\"font-size: 9px;\"\u003ENote: Subscription preference does not apply for transactional emails.\u003C\/span\u003E","IsLabelToLeft":true}],[{"Id":10066,"Name":"conferencesEvents","Datatype":"checkbox","PicklistValues":[{"label":"Receive exclusive invitations to upcoming virtual and live events, including webinars, conferences, masterclasses, and social events.","value":"yes"}],"InputLabel":"Conferences & Events","InputInitialValue":"","InputSourceChannel":"constant","ProfilingFieldNumber":0,"ValidationMessage":"This field is required."}],[{"Id":10069,"Name":"customerSurveys","Datatype":"checkbox","PicklistValues":[{"label":"Become a part of our product evolution - provide feedback, suggestions, and ideas to help us continue to create products you'll love!","value":"yes"}],"InputLabel":"Customer Survey","InputInitialValue":"","InputSourceChannel":"constant","ProfilingFieldNumber":0,"ValidationMessage":"This field is required."}],[{"Id":10064,"Name":"newsletter","Datatype":"checkbox","PicklistValues":[{"label":"Become a part of our product evolution - provide feedback, suggestions, and ideas to help us continue to create products you'll love!","value":"yes"}],"InputLabel":"Newsletter","InputInitialValue":"","InputSourceChannel":"constant","ProfilingFieldNumber":0,"ValidationMessage":"This field is required."}],[{"Id":10070,"Name":"nonMarketingComms","Datatype":"checkbox","PicklistValues":[{"label":"Engaging and informative non-promotional emails designed to keep you updated on essential news and valuable insights.","value":"yes"}],"InputLabel":"Non-Marketing Emails","InputInitialValue":"","InputSourceChannel":"constant","ProfilingFieldNumber":0,"ValidationMessage":"This field is required."}],[{"Id":10068,"Name":"productUpdates","Datatype":"checkbox","PicklistValues":[{"label":"Be the first to know about new product announcements.","value":"yes"}],"InputLabel":"Product updates","InputInitialValue":"","InputSourceChannel":"constant","ProfilingFieldNumber":0,"ValidationMessage":"This field is required."}],[{"Id":10065,"Name":"promotional","Datatype":"checkbox","PicklistValues":[{"label":"Discover our latest innovative products designed to elevate your experience and meet your needs\u2014exclusive offers await!","value":"yes"}],"InputLabel":"Promotional","InputInitialValue":"","InputSourceChannel":"constant","ProfilingFieldNumber":0,"ValidationMessage":"This field is required."}],[{"Id":10067,"Name":"roadshow","Datatype":"checkbox","PicklistValues":[{"label":"only for roadshow subscribed members","value":"yes"}],"InputLabel":"Roadshow","InputInitialValue":"","InputSourceChannel":"constant","ProfilingFieldNumber":0,"ValidationMessage":"This field is required."}],[{"Id":10063,"Name":"Unsubscribed","Datatype":"checkbox","PicklistValues":[{"label":"Opt out from all email communications","value":"yes"}],"InputLabel":"Stop receiving communications","InputInitialValue":"","InputSourceChannel":"constant","ProfilingFieldNumber":0,"ValidationMessage":"This field is required."}]],"fieldsetRows":[],"action":null,"munchkinId":"488-TWX-793","dcJsUrl":"","invalidInputMsg":"Invalid Input","formSubmitFailedMsg":"Submission failed, please try again later.","maxLengthLimitReachedMsg":"Maximum character limit reached","maxLengthRemainingMsg":"characters remaining","hideRecaptchaDisclaimer":true});