Sind Sie sicher, dass Sie den Newsletter abbestellen möchten?

 

Schade, dass Sie unseren Newsletter nicht länger erhalten möchten.

Bitte klicken Sie auf den folgenden Button, um Ihre Abmeldung zu bestätigen.

 

.btn-primary:hover, .btn-primary { color: #fff; background-color: #3f7d72 !important; border-color: #3f7d72 !important; } .form-control { border-radius: 0px !important; padding: 5px 10px !inmportant; } .onFormSubmittedFeedbackIcon { display: none; } div[data-form-block-id] .onFormSubmittedFeedback .onFormSubmittedFeedbackButtonSuccess { display: none; } div[data-form-block-id] .onFormSubmittedFeedback .onFormSubmittedFeedbackMessage { background: #f0f0f0; } div[data-form-block-id] .onFormSubmittedFeedbackIcon { display: none; } div[data-form-block-id] .onFormSubmittedFeedback { display: block; align-items: start; justify-content: center; background: white; margin: 0 auto; } div[data-form-block-id] .onFormSubmittedFeedback .onFormSubmittedFeedbackMessage { background: none; font-family: 'Lato'; font-size: 20px; background-color: #d4edda; padding: 20px; color: black; border-color: #c3e6cb; }

let crmContactId = ''; let mListId = ''; MsCrmMkt.MsCrmFormLoader.on("afterFormLoad", function(event) { const queryString = window.location.search; const urlParams = new URLSearchParams(queryString); crmContactId = urlParams.get('uid'); document.getElementById('275d2d75-45c5-ec11-a7b6-000d3a4a48fe').value = crmContactId; mListId = urlParams.get('listid'); document.getElementById('5cdfa556-45c5-ec11-a7b6-000d3a4a48fe').value = mListId; }); MsCrmMkt.MsCrmFormLoader.on("formSubmit", function(event) { if (! crmContactId || ! mListId) { event.preventDefault(); let buttonTag = document.querySelector('.lp-form-fieldInput'); let alertTag = document.createElement('div'); alertTag.className = 'alert alert-warning'; alertTag.innerHTML = 'Ein Fehler ist aufgetreten.'; buttonTag.parentNode.replaceChild(alertTag, buttonTag); } });