{"id":311167,"date":"2024-12-11T14:27:28","date_gmt":"2024-12-11T19:27:28","guid":{"rendered":"https:\/\/wp-stage.familylife.com\/www\/?page_id=311167"},"modified":"2025-10-21T10:37:01","modified_gmt":"2025-10-21T14:37:01","slug":"weekend-to-remember-text-alert-sign-up","status":"publish","type":"page","link":"https:\/\/wp-stage.familylife.com\/www\/weekend-to-remember-text-alert-sign-up\/","title":{"rendered":"Weekend to Remember Text Alert Sign Up"},"content":{"rendered":"\n<style fetchpriority=\"high\">\nlabel, input{\nwidth: 100%;\ndisplay: flex;\n\n}\nlabel, .textopt{\ncolor: #fff;\n}\n.textcheck{\ndisplay: flex;\njustify-content: flex-start;\ncolumn-gap: 5px;\nalign-items: baseline;\nflex-basis: auto;\n}\n.textcheck input{\nwidth: auto;\nmargin-left: 5px;\n}\n.iti.iti--allow-dropdown{\nwidth: 100%;\n}\ninput[type=submit] {\n    border: none;\n    background: #a2c5d2;\n    color: #0a0a0b;\n    font-size: .75rem;\n    line-height: 1;\n    padding: 12px 16px;\n    border-radius: 6px;\n    cursor: pointer;\nwidth: 100%;\nfont-family: Akkurat, sans-serif;\nfont-size: 18px;\n}\ninput[type=submit]:hover{\ncolor: #fff;\nbackground: #014e42;\n}\n<\/style>\n\n\n\n<div class=\"wp-block-uagb-container uagb-block-354e7d09 alignfull uagb-is-root-container\"><div class=\"uagb-container-inner-blocks-wrap\">\n<div class=\"wp-block-uagb-container uagb-block-894debdb alignfull uagb-is-root-container\"><div class=\"uagb-container-inner-blocks-wrap\">\n<div class=\"wp-block-uagb-image uagb-block-dbb974dd wp-block-uagb-image--layout-default wp-block-uagb-image--effect-static wp-block-uagb-image--align-none\"><figure class=\"wp-block-uagb-image__figure\"><img decoding=\"async\" srcset=\"https:\/\/wp-stage.familylife.com\/www\/wp-content\/uploads\/sites\/1001\/2024\/12\/Email-HeaderGreen.jpg?w=1200 ,https:\/\/wp-stage.familylife.com\/www\/wp-content\/uploads\/sites\/1001\/2024\/12\/Email-HeaderGreen.jpg 780w, https:\/\/wp-stage.familylife.com\/www\/wp-content\/uploads\/sites\/1001\/2024\/12\/Email-HeaderGreen.jpg 360w\" sizes=\"auto, (max-width: 480px) 150px\" src=\"https:\/\/wp-stage.familylife.com\/www\/wp-content\/uploads\/sites\/1001\/2024\/12\/Email-HeaderGreen.jpg?w=1200\" alt=\"\" class=\"uag-image-311166\" width=\"1200\" height=\"434\" title=\"Email-HeaderGreen\" loading=\"lazy\" role=\"img\"\/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-uagb-container uagb-block-58242d14\">\n<div class=\"wp-block-uagb-container uagb-block-4be6ee31 alignfull uagb-is-root-container\"><div class=\"uagb-container-inner-blocks-wrap\">\n<div class=\"wp-block-uagb-advanced-heading uagb-block-e469ad96\"><h1 class=\"uagb-heading-text\">Sign up for text alerts and take<\/h1><\/div>\n\n\n\n<div class=\"wp-block-uagb-advanced-heading uagb-block-dd6c9b7f\"><h2 class=\"uagb-heading-text\">15% OFF<\/h2><\/div>\n\n\n\n<div class=\"wp-block-uagb-advanced-heading uagb-block-d0d0db93\"><p class=\"uagb-heading-text\">Any Weekend To Remember Event<\/p><\/div>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-uagb-container uagb-block-303d6a22\">\n<!--  ----------------------------------------------------------------------  -->\n<!--  NOTE: Please add the following <META> element to your page <HEAD>.      -->\n<!--  If necessary, please modify the charset parameter to specify the        -->\n<!--  character set of your HTML page.                                        -->\n<!--  ----------------------------------------------------------------------  -->\n\n\n\n<META HTTP-EQUIV=\"Content-type\" CONTENT=\"text\/html; charset=UTF-8\">\n<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.19\/css\/intlTelInput.css\">\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.19\/js\/intlTelInput.min.js\"><\/script>\n<script src=\"https:\/\/www.google.com\/recaptcha\/api.js?render=6Lc5kZMqAAAAALzX4hCaQ30-ozPwDSv8zhd2KDne\"><\/script>\n\n<!--  ----------------------------------------------------------------------  -->\n<!--  NOTE: Please add the following <FORM> element to your page.             -->\n<!--  ----------------------------------------------------------------------  -->\n\n<form action=\"https:\/\/webto.salesforce.com\/servlet\/servlet.WebToLead?encoding=UTF-8&#038;orgId=00Di0000000evX8\" method=\"POST\"\n    id=\"webToLeadForm\">\n\n    <input type=hidden name='captcha_settings'\n        value='{\"keyname\":\"FL15OFF\",\"fallback\":\"true\",\"orgId\":\"00Di0000000evX8\",\"ts\":\"\"}'>\n    <input type=hidden name=\"oid\" value=\"00Di0000000evX8\">\n    <input type=hidden name=\"retURL\" value=\"https:\/\/wp-stage.familylife.com\/www\/weekend-to-remember-thank-you\/\">\n    <input type=\"hidden\" id=\"Campaign_ID\" name=\"Campaign_ID\" value=\"701RO00000ILvyjYAD\">\n    <input type=\"hidden\" id=\"g-recaptcha-response\" name=\"g-recaptcha-response\">\n\n    <!--  ----------------------------------------------------------------------  -->\n    <!--  NOTE: These fields are optional debugging elements. Please uncomment    -->\n    <!--  these lines if you wish to test in debug mode.                          -->\n    <!--  <input type=\"hidden\" name=\"debug\" value=1>                              -->\n    <!--  <input type=\"hidden\" name=\"debugEmail\"                                  -->\n    <!--  value=\"timothy.jones@familylife.com\">                                   -->\n    <!--  ----------------------------------------------------------------------  -->\n\n    <label for=\"first_name\">First Name<\/label><input id=\"first_name\" maxlength=\"40\" name=\"first_name\" size=\"20\"\n        type=\"text\" \/><br>\n\n    <label for=\"last_name\">Last Name<\/label><input id=\"last_name\" maxlength=\"80\" name=\"last_name\" size=\"20\"\n        type=\"text\" \/><br>\n\n    <label for=\"email\">Email<\/label><input id=\"email\" maxlength=\"80\" name=\"email\" size=\"20\" type=\"text\" \/><br>\n\n    <label for=\"phone\">Phone<\/label><input id=\"phone\" maxlength=\"40\" name=\"phone\" size=\"20\" type=\"text\" \/><br><br>\n<div class=\"textcheck\">\n    <span class=\"textopt\">Text Opt In:<\/span><input id=\"00NRO000001qZCP\" name=\"00NRO000001qZCP\" type=\"checkbox\" value=\"1\" \/><\/div><br>\n\n    <input id=\"dupcheck__dc3Web2Lead__c\" name=\"dupcheck__dc3Web2Lead__c\" type=\"hidden\" value=\"1\" \/>\n\n\n    <input type=\"submit\" name=\"submit\">\n\n<\/form>\n\n<script>\n    \/\/ Initialize intl-tel-input with US as the default country\n    const phoneInput = document.querySelector(\"#phone\");\n    const iti = window.intlTelInput(phoneInput, {\n        initialCountry: \"us\", \/\/ Set default country to US\n        utilsScript: \"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.19\/js\/utils.js\", \/\/ For formatting\n    });\n\n    \/\/ Automatically update the input value with the formatted number\n    phoneInput.addEventListener(\"countrychange\", () => {\n        const currentNumber = iti.getNumber(); \/\/ Gets the full number in E.164 format\n        if (currentNumber) {\n            phoneInput.value = currentNumber; \/\/ Update the input value with the formatted number\n        }\n    });\n\n    \/\/ Add the complete phone number to the form before submission\n    document.getElementById(\"webToLeadForm\").addEventListener(\"submit\", function (event) {\n        const selectedPath = document.querySelector('input[name=\"path\"]:checked');\n\n        \/\/ Add formatted phone number\n        const phoneNumber = iti.getNumber(); \/\/ Gets the full E.164 format\n        if (phoneNumber) {\n            phoneInput.value = phoneNumber; \/\/ Set the formatted number in the input\n        } else {\n            alert(\"Please enter a valid phone number.\");\n            event.preventDefault(); \/\/ Prevent form submission if the phone number is invalid\n        }\n    });\n\n\n<\/script>\n\n<script>\n    document.addEventListener('DOMContentLoaded', function () {\n        var form = document.getElementById('webToLeadForm');\n        var isSubmitting = false;\n\n        \/\/ Add timestamp to captcha settings\n        function updateTimestamp() {\n            var captchaSettings = JSON.parse(document.querySelector('input[name=\"captcha_settings\"]').value);\n            captchaSettings.ts = JSON.stringify(new Date().getTime());\n            document.querySelector('input[name=\"captcha_settings\"]').value = JSON.stringify(captchaSettings);\n        }\n\n        \/\/ Initial timestamp update\n        updateTimestamp();\n\n        \/\/ Update timestamp every 30 seconds\n        setInterval(updateTimestamp, 30000);\n\n        form.addEventListener('submit', function (event) {\n            event.preventDefault();\n\n            if (isSubmitting) {\n                return;\n            }\n            isSubmitting = true;\n\n            \/\/ Update timestamp before submission\n            updateTimestamp();\n\n            grecaptcha.ready(function () {\n                grecaptcha.execute('6Lc5kZMqAAAAALzX4hCaQ30-ozPwDSv8zhd2KDne', { action: 'submit' })\n                    .then(function (token) {\n                        document.getElementById('g-recaptcha-response').value = token;\n\n                        try {\n                            HTMLFormElement.prototype.submit.call(form);\n                        } catch (error) {\n                            isSubmitting = false;\n                        }\n                    })\n                    .catch(function () {\n                        isSubmitting = false;\n                    });\n            });\n        });\n    });\n<\/script>\n\n\n\n<div class=\"wp-block-uagb-advanced-heading uagb-block-37ef1d3e\"><p class=\"uagb-heading-text\">By submitting, you agree to receive marketing emails and texts from FamilyLife. Message &amp; data rates may apply. Opt-out anytime. View our <u><a href=\"https:\/\/www.cru.org\/us\/en\/about\/privacy.html\" target=\"_blank\">Privacy Policy<\/a><\/u> and <u><a href=\"https:\/\/wp-stage.familylife.com\/www\/contact-us\/terms-of-use\/\" target=\"_blank\">Terms<\/a>.<\/u><\/p><\/div>\n<\/div>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<script>\n  \/\/ Retrieve the email from sessionStorage and prepopulate email field\n  const email = sessionStorage.getItem(\"WTRFooterEmail\");\n\n  if (email) {\n    document.getElementById(\"email\").value = email;\n  }\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Sign up for text alerts and take 15% OFF Any Weekend To Remember Event<a class=\"d-block py-2 read-more color-cyan small\" href=\"https:\/\/wp-stage.familylife.com\/www\/weekend-to-remember-text-alert-sign-up\/\" title=\"Read more: Weekend to Remember Text Alert Sign Up\" >Read More &raquo;<\/a><\/p>\n","protected":false},"author":85583,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/page-blank.php","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","inline_featured_image":false,"_uag_custom_page_level_css":"","episode_type":"","audio_file":"","podmotor_file_id":"","podmotor_episode_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","footnotes":""},"cwp_profile":[],"class_list":["post-311167","page","type-page","status-publish","hentry"],"acf":[],"uagb_featured_image_src":{"full":false},"uagb_author_info":{"display_name":"Jonathan Ober","author_link":"https:\/\/wp-stage.familylife.com\/www\/author\/jonathan-oberfamilylife-com\/"},"uagb_comment_info":0,"uagb_excerpt":"Sign up for text alerts and take 15% OFF Any Weekend To Remember EventRead More &raquo;","meta_box":{"_cloudsearch_visibility":"0","associated_microsite":"","theme_header_position":"Sticky","post_header_is_sticky":"default","is_header_overlay":"0"},"_links":{"self":[{"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/pages\/311167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/users\/85583"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/comments?post=311167"}],"version-history":[{"count":2,"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/pages\/311167\/revisions"}],"predecessor-version":[{"id":317262,"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/pages\/311167\/revisions\/317262"}],"wp:attachment":[{"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/media?parent=311167"}],"wp:term":[{"taxonomy":"cwp_profile","embeddable":true,"href":"https:\/\/wp-stage.familylife.com\/www\/wp-json\/wp\/v2\/cwp_profile?post=311167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}