{"id":1100,"date":"2015-12-01T13:05:44","date_gmt":"2015-12-01T13:05:44","guid":{"rendered":"http:\/\/swiss-chalet.ch\/newsletter-2\/"},"modified":"2015-12-21T08:37:15","modified_gmt":"2015-12-21T08:37:15","slug":"newsletter","status":"publish","type":"page","link":"https:\/\/swiss-chalet.ch\/en\/newsletter\/","title":{"rendered":"Newsletter"},"content":{"rendered":"<p>Our Swiss-Chalet Merlischachen is sending every year 4 to 6 times an electronic newsletter with news, events and special offers. We would be very pleased if we could inform you as well.<\/p>\n<p>Please fill out the form below and send us your e-mail adress. We will not give your personals datas to another or third person or company. You can administrate yourself your newsletter abonnement.<\/p>\n<script type=\"text\/javascript\">var gform;gform||(document.addEventListener(\"gform_main_scripts_loaded\",function(){gform.scriptsLoaded=!0}),window.addEventListener(\"DOMContentLoaded\",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,initializeOnLoaded:function(o){gform.domLoaded&&gform.scriptsLoaded?o():!gform.domLoaded&&gform.scriptsLoaded?window.addEventListener(\"DOMContentLoaded\",o):document.addEventListener(\"gform_main_scripts_loaded\",o)},hooks:{action:{},filter:{}},addAction:function(o,n,r,t){gform.addHook(\"action\",o,n,r,t)},addFilter:function(o,n,r,t){gform.addHook(\"filter\",o,n,r,t)},doAction:function(o){gform.doHook(\"action\",o,arguments)},applyFilters:function(o){return gform.doHook(\"filter\",o,arguments)},removeAction:function(o,n){gform.removeHook(\"action\",o,n)},removeFilter:function(o,n,r){gform.removeHook(\"filter\",o,n,r)},addHook:function(o,n,r,t,i){null==gform.hooks[o][n]&&(gform.hooks[o][n]=[]);var e=gform.hooks[o][n];null==i&&(i=n+\"_\"+e.length),gform.hooks[o][n].push({tag:i,callable:r,priority:t=null==t?10:t})},doHook:function(n,o,r){var t;if(r=Array.prototype.slice.call(r,1),null!=gform.hooks[n][o]&&((o=gform.hooks[n][o]).sort(function(o,n){return o.priority-n.priority}),o.forEach(function(o){\"function\"!=typeof(t=o.callable)&&(t=window[t]),\"action\"==n?t.apply(null,r):r[0]=t.apply(null,r)})),\"filter\"==n)return r[0]},removeHook:function(o,n,t,i){var r;null!=gform.hooks[o][n]&&(r=(r=gform.hooks[o][n]).filter(function(o,n,r){return!!(null!=i&&i!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][n]=r)}});<\/script>\n                <div class='gf_browser_gecko gform_wrapper gform_legacy_markup_wrapper gform-theme--no-framework' data-form-theme='legacy' data-form-index='0' id='gform_wrapper_5' >\n                        <div class='gform_heading'>\n                            <p class='gform_description'><\/p>\n                        <\/div><form method='post' enctype='multipart\/form-data'  id='gform_5'  action='\/en\/wp-json\/wp\/v2\/pages\/1100' data-formid='5' novalidate>\n                        <div class='gform-body gform_body'><ul id='gform_fields_5' class='gform_fields top_label form_sublabel_below description_below validation_below'><li id=\"field_5_1\" class=\"gfield gfield--type-select field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_5_1\" ><label class='gfield_label gform-field-label' for='input_5_1'>Form of Address<\/label><div class='ginput_container ginput_container_select'><select name='input_1' id='input_5_1' class='medium gfield_select'     aria-invalid=\"false\" ><option value='Herr' >Herr<\/option><option value='Frau' >Frau<\/option><\/select><\/div><\/li><li id=\"field_5_2\" class=\"gfield gfield--type-text gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_5_2\" ><label class='gfield_label gform-field-label' for='input_5_2'>First name<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_text'><input name='input_2' id='input_5_2' type='text' value='' class='medium'     aria-required=\"true\" aria-invalid=\"false\"   \/> <\/div><\/li><li id=\"field_5_3\" class=\"gfield gfield--type-text gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_5_3\" ><label class='gfield_label gform-field-label' for='input_5_3'>Last name<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_text'><input name='input_3' id='input_5_3' type='text' value='' class='medium'     aria-required=\"true\" aria-invalid=\"false\"   \/> <\/div><\/li><li id=\"field_5_4\" class=\"gfield gfield--type-text gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_5_4\" ><label class='gfield_label gform-field-label' for='input_5_4'>E-Mail<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_text'><input name='input_4' id='input_5_4' type='text' value='' class='medium'     aria-required=\"true\" aria-invalid=\"false\"   \/> <\/div><\/li><li id=\"field_5_5\" class=\"gfield gfield--type-select gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_5_5\" ><label class='gfield_label gform-field-label' for='input_5_5'>Language<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_select'><select name='input_5' id='input_5_5' class='medium gfield_select'    aria-required=\"true\" aria-invalid=\"false\" ><option value='English' >English<\/option><option value='German' >German<\/option><\/select><\/div><\/li><li id=\"field_5_6\" class=\"gfield gfield--type-captcha field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_5_6\" ><label class='gfield_label gform-field-label' for='input_5_6'>Captcha<\/label><div id='input_5_6' class='ginput_container ginput_recaptcha' data-sitekey='6Lc_tWkUAAAAACA8Lts8-besE_APlD47EnQXdi0Y'  data-theme='light' data-tabindex='0'  data-badge=''><\/div><\/li><\/ul><\/div>\n        <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_5' class='gform_button button' value='Absenden'  onclick='if(window[\"gf_submitting_5\"]){return false;}  if( !jQuery(\"#gform_5\")[0].checkValidity || jQuery(\"#gform_5\")[0].checkValidity()){window[\"gf_submitting_5\"]=true;}  ' onkeypress='if( event.keyCode == 13 ){ if(window[\"gf_submitting_5\"]){return false;} if( !jQuery(\"#gform_5\")[0].checkValidity || jQuery(\"#gform_5\")[0].checkValidity()){window[\"gf_submitting_5\"]=true;}  jQuery(\"#gform_5\").trigger(\"submit\",[true]); }' \/> \n            <input type='hidden' class='gform_hidden' name='is_submit_5' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='5' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_5' value='WyJbXSIsIjRiMThjNTYxODI3MWQ1Njc2N2Y2NDE4OWEzZjcxNjA3Il0=' \/>\n            <input type='hidden' class='gform_hidden' name='gform_target_page_number_5' id='gform_target_page_number_5' value='0' \/>\n            <input type='hidden' class='gform_hidden' name='gform_source_page_number_5' id='gform_source_page_number_5' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n                        <\/form>\n                        <\/div><script type=\"text\/javascript\">\n\/* <![CDATA[ *\/\n gform.initializeOnLoaded( function() {gformInitSpinner( 5, 'https:\/\/swiss-chalet.ch\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery('#gform_ajax_frame_5').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_5');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_5').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_5').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_5').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_5').removeClass('gform_validation_error');}setTimeout( function() { \/* delay the scroll by 50 milliseconds to fix a bug in chrome *\/  }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_5').val();gformInitSpinner( 5, 'https:\/\/swiss-chalet.ch\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [5, current_page]);window['gf_submitting_5'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}jQuery('#gform_wrapper_5').replaceWith(confirmation_content);jQuery(document).trigger('gform_confirmation_loaded', [5]);window['gf_submitting_5'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_5').text());}else{jQuery('#gform_5').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger(\"gform_pre_post_render\", [{ formId: \"5\", currentPage: \"current_page\", abort: function() { this.preventDefault(); } }]);                if (event && event.defaultPrevented) {                return;         }        const gformWrapperDiv = document.getElementById( \"gform_wrapper_5\" );        if ( gformWrapperDiv ) {            const visibilitySpan = document.createElement( \"span\" );            visibilitySpan.id = \"gform_visibility_test_5\";            gformWrapperDiv.insertAdjacentElement( \"afterend\", visibilitySpan );        }        const visibilityTestDiv = document.getElementById( \"gform_visibility_test_5\" );        let postRenderFired = false;                function triggerPostRender() {            if ( postRenderFired ) {                return;            }            postRenderFired = true;            jQuery( document ).trigger( 'gform_post_render', [5, current_page] );            gform.utils.trigger( { event: 'gform\/postRender', native: false, data: { formId: 5, currentPage: current_page } } );            if ( visibilityTestDiv ) {                visibilityTestDiv.parentNode.removeChild( visibilityTestDiv );            }        }        function debounce( func, wait, immediate ) {            var timeout;            return function() {                var context = this, args = arguments;                var later = function() {                    timeout = null;                    if ( !immediate ) func.apply( context, args );                };                var callNow = immediate && !timeout;                clearTimeout( timeout );                timeout = setTimeout( later, wait );                if ( callNow ) func.apply( context, args );            };        }        const debouncedTriggerPostRender = debounce( function() {            triggerPostRender();        }, 200 );        if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) {            const observer = new MutationObserver( ( mutations ) => {                mutations.forEach( ( mutation ) => {                    if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) {                        debouncedTriggerPostRender();                        observer.disconnect();                    }                });            });            observer.observe( document.body, {                attributes: true,                childList: false,                subtree: true,                attributeFilter: [ 'style', 'class' ],            });        } else {            triggerPostRender();        }    } );} ); \n\/* ]]> *\/\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>Our Swiss-Chalet Merlischachen is sending every year 4 to 6 times an electronic newsletter with news, events and special offers. We would be very pleased if we could inform you as well. Please fill out the form below and send us your e-mail adress. We will not give your personals datas to another or third [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9912,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1100","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/pages\/1100"}],"collection":[{"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/comments?post=1100"}],"version-history":[{"count":3,"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/pages\/1100\/revisions"}],"predecessor-version":[{"id":1470,"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/pages\/1100\/revisions\/1470"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/media\/9912"}],"wp:attachment":[{"href":"https:\/\/swiss-chalet.ch\/en\/wp-json\/wp\/v2\/media?parent=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}