{"id":56,"date":"2013-06-06T22:58:52","date_gmt":"2013-06-06T21:58:52","guid":{"rendered":"http:\/\/totallylocallydunbar.co.uk\/?page_id=56"},"modified":"2017-08-29T12:12:04","modified_gmt":"2017-08-29T11:12:04","slug":"contact","status":"publish","type":"page","link":"https:\/\/ourlocality.org\/totallylocally\/?page_id=56","title":{"rendered":"Contact"},"content":{"rendered":"<script>\nvar gform;gform||(document.addEventListener(\"gform_main_scripts_loaded\",function(){gform.scriptsLoaded=!0}),document.addEventListener(\"gform\/theme\/scripts_loaded\",function(){gform.themeScriptsLoaded=!0}),window.addEventListener(\"DOMContentLoaded\",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,themeScriptsLoaded:!1,isFormEditor:()=>\"function\"==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn(\"The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1.\"),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener(\"gform_main_scripts_loaded\",()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener(\"gform\/theme\/scripts_loaded\",()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener(\"DOMContentLoaded\",()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook(\"action\",o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook(\"filter\",o,r,e,t)},doAction:function(o){gform.doHook(\"action\",o,arguments)},applyFilters:function(o){return gform.doHook(\"filter\",o,arguments)},removeAction:function(o,r){gform.removeHook(\"action\",o,r)},removeFilter:function(o,r,e){gform.removeHook(\"filter\",o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+\"_\"+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){\"function\"!=typeof(t=o.callable)&&(t=window[t]),\"action\"==r?t.apply(null,e):e[0]=t.apply(null,e)})),\"filter\"==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});\n<\/script>\n\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_1' style='display:none'><div id='gf_1' class='gform_anchor' tabindex='-1'><\/div>\n                        <div class='gform_heading'>\n                            <h3 class=\"gform_title\">Register Interest<\/h3>\n                            <p class='gform_description'>We're thinking of setting up a Totally Locally in Dunbar and East Linton Ward, so a few questions first<\/p>\n                        <\/div><form method='post' enctype='multipart\/form-data'  id='gform_1'  action='\/totallylocally\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F56#gf_1' data-formid='1' novalidate><div id='gf_page_steps_1' class='gf_page_steps'><div id='gf_step_1_1' class='gf_step gf_step_active gf_step_first'><span class='gf_step_number'>1<\/span><span class='gf_step_label'>Step 1<\/span><\/div><div id='gf_step_1_2' class='gf_step gf_step_next gf_step_pending'><span class='gf_step_number'>2<\/span><span class='gf_step_label'>Step 2<\/span><\/div><div id='gf_step_1_3' class='gf_step gf_step_last gf_step_pending'><span class='gf_step_number'>3<\/span><span class='gf_step_label'><\/span><\/div><\/div>\n                        <div class='gform-body gform_body'><div id='gform_page_1_1' class='gform_page ' data-js='page-field-id-0' >\n\t\t\t\t\t<div class='gform_page_fields'><ul id='gform_fields_1' class='gform_fields top_label form_sublabel_below description_below validation_below'><li id=\"field_1_5\" class=\"gfield gfield--type-select gfield_contains_required field_sublabel_below gfield--has-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_5'>Where are you based?<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_1_5' class='medium gfield_select'  aria-describedby=\"gfield_description_1_5\"  aria-required=\"true\" aria-invalid=\"false\" ><option value='Select one' >Select one<\/option><option value='Dunbar High Street' >Dunbar High Street<\/option><option value='Dunbar (not High Street)' >Dunbar (not High Street)<\/option><option value='Beyond but in Dunbar and East Linton Ward' >Beyond but in Dunbar and East Linton Ward<\/option><option value='Elsewhere in East Lothian' selected='selected'>Elsewhere in East Lothian<\/option><option value='Not East Lothian' >Not East Lothian<\/option><\/select><\/div><div class='gfield_description' id='gfield_description_1_5'>We need to know where you are trading from<\/div><\/li><\/ul>\n                    <\/div>\n                    <div class='gform-page-footer gform_page_footer top_label'>\n                         <input type='button' id='gform_next_button_1_14' class='gform_next_button gform-theme-button button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='next' value='Next'  \/> \n                    <\/div>\n                <\/div>\n                <div id='gform_page_1_2' class='gform_page' data-js='page-field-id-14' style='display:none;'>\n                    <div class='gform_page_fields'>\n                        <ul id='gform_fields_1_2' class='gform_fields top_label form_sublabel_below description_below validation_below'><li id=\"field_1_1\" class=\"gfield gfield--type-name gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label gfield_label_before_complex' >Name<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_complex ginput_container ginput_container--name no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name gform-grid-row' id='input_1_1'>\n                            <span id='input_1_1_3_container' class='name_first gform-grid-col' >\n                                                    <input type='text' name='input_1.3' id='input_1_1_3' value=''   aria-required='true'    \/>\n                                                    <label for='input_1_1_3' class='gform-field-label gform-field-label--type-sub '>First<\/label>\n                                               <\/span>\n                            <span id='input_1_1_6_container' class='name_last gform-grid-col' >\n                                                    <input type='text' name='input_1.6' id='input_1_1_6' value=''   aria-required='true'    \/>\n                                                    <label for='input_1_1_6' class='gform-field-label gform-field-label--type-sub '>Last<\/label>\n                                                <\/span>\n                            <div class='gf_clear gf_clear_complex'><\/div>\n                        <\/div><\/li><li id=\"field_1_7\" class=\"gfield gfield--type-text field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_7'>And your trading name?<\/label><div class='ginput_container ginput_container_text'><input name='input_7' id='input_1_7' type='text' value='' class='medium'      aria-invalid=\"false\"   \/><\/div><\/li><li id=\"field_1_12\" class=\"gfield gfield--type-text field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_12'>Your business proposition and Totally Local USP on one line!<\/label><div class='ginput_container ginput_container_text'><input name='input_12' id='input_1_12' type='text' value='' class='medium'      aria-invalid=\"false\"   \/><\/div><\/li><li id=\"field_1_2\" class=\"gfield gfield--type-email gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_2'>Email<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_email'>\n                            <input name='input_2' id='input_1_2' type='email' value='' class='medium'    aria-required=\"true\" aria-invalid=\"false\"  \/>\n                        <\/div><\/li><li id=\"field_1_3\" class=\"gfield gfield--type-website field_sublabel_below gfield--has-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_3'>Website (if you have one)<\/label><div class='ginput_container ginput_container_website'>\n                    <input name='input_3' id='input_1_3' type='url' value='' class='medium'  aria-describedby=\"gfield_description_1_3\"    aria-invalid=\"false\" \/>\n                <\/div><div class='gfield_description' id='gfield_description_1_3'>Just checking you are legit and not a chain or franchise.<\/div><\/li><li id=\"field_1_4\" class=\"gfield gfield--type-captcha field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_4'>Captcha<\/label><div id='input_1_4' class='ginput_container ginput_recaptcha' data-sitekey='6LcPmS4UAAAAAPTZElSEihAJHRWOSVig-WpH_ZSp'  data-theme='dark' data-tabindex='0'  data-badge=''><\/div><\/li><\/ul>\n                    <\/div>\n                    <div class='gform-page-footer gform_page_footer top_label'>\n                        <input type='button' id='gform_previous_button_1_15' class='gform_previous_button gform-theme-button gform-theme-button--secondary button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='previous' value='Previous'  \/> <input type='button' id='gform_next_button_1_15' class='gform_next_button gform-theme-button button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='next' value='Next'  \/> \n                    <\/div>\n                <\/div>\n                <div id='gform_page_1_3' class='gform_page' data-js='page-field-id-15' style='display:none;'>\n                    <div class='gform_page_fields'>\n                        <ul id='gform_fields_1_3' class='gform_fields top_label form_sublabel_below description_below validation_below'><li id=\"field_1_10\" class=\"gfield gfield--type-select field_sublabel_below gfield--has-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_10'>OK you are not in the Dunbar and East Linton Ward. Complete the following: &quot;I am&quot;<\/label><div class='ginput_container ginput_container_select'><select name='input_10' id='input_1_10' class='medium gfield_select'  aria-describedby=\"gfield_description_1_10\"   aria-invalid=\"false\" ><option value='Just Looking (great!)' >Just Looking (great!)<\/option><option value='A Journalist (feel free to get in touch direct)' >A Journalist (feel free to get in touch direct)<\/option><option value='A Spammer (boil your head)' >A Spammer (boil your head)<\/option><option value='Something else (really?)' >Something else (really?)<\/option><\/select><\/div><div class='gfield_description' id='gfield_description_1_10'>If you are thinking about your own Totally Locally Town? Google  Totally Locally to find out more, it's free.<\/div><\/li><li id=\"field_1_9\" class=\"gfield gfield--type-section gsection field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><h2 class=\"gsection_title\">That&#039;s it<\/h2><\/li><\/ul><\/div>\n        <div class='gform-page-footer gform_page_footer top_label'><input type='submit' id='gform_previous_button_1' class='gform_previous_button gform-theme-button gform-theme-button--secondary button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='previous' value='Previous'  \/> <input type='submit' id='gform_submit_button_1' class='gform_button button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='submit' value='Submit'  \/> \n            <input type='hidden' class='gform_hidden' name='gform_submission_method' data-js='gform_submission_method_1' value='postback' \/>\n            <input type='hidden' class='gform_hidden' name='gform_theme' data-js='gform_theme_1' id='gform_theme_1' value='legacy' \/>\n            <input type='hidden' class='gform_hidden' name='gform_style_settings' data-js='gform_style_settings_1' id='gform_style_settings_1' value='[]' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_1' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='1' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_currency' data-currency='GBP' value='7hIZjsmN+0R0GGNGP+k\/rdVb1cGzIaAn2ijyteyAqiIyBMXlhZv81jbgNlBeZQIliohJfym7ckEVFCJ\/931nwKHM3EBm2xCV3xpRlEkL9dMPjK8=' \/>\n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_1' value='WyJbXSIsIjVkY2YzMTA2NDJmZmRlZmYxMjk0NDhiZjM2OTlhNGMxIl0=' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_target_page_number_1' id='gform_target_page_number_1' value='2' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_source_page_number_1' id='gform_source_page_number_1' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n             <\/div><\/div>\n                        <\/form>\n                        <\/div><script>\ngform.initializeOnLoaded( function() {gformInitSpinner( 1, 'https:\/\/ourlocality.org\/totallylocally\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery('#gform_ajax_frame_1').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_1');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_1').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){form_content.find('form').css('opacity', 0);jQuery('#gform_wrapper_1').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_1').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_1').removeClass('gform_validation_error');}setTimeout( function() { \/* delay the scroll by 50 milliseconds to fix a bug in chrome *\/ jQuery(document).scrollTop(jQuery('#gform_wrapper_1').offset().top - mt); }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_1').val();gformInitSpinner( 1, 'https:\/\/ourlocality.org\/totallylocally\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [1, current_page]);window['gf_submitting_1'] = 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_1').replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery('#gf_1').offset().top - mt);jQuery(document).trigger('gform_confirmation_loaded', [1]);window['gf_submitting_1'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_1').text());}else{jQuery('#gform_1').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger(\"gform_pre_post_render\", [{ formId: \"1\", currentPage: \"current_page\", abort: function() { this.preventDefault(); } }]);        if (event && event.defaultPrevented) {                return;        }        const gformWrapperDiv = document.getElementById( \"gform_wrapper_1\" );        if ( gformWrapperDiv ) {            const visibilitySpan = document.createElement( \"span\" );            visibilitySpan.id = \"gform_visibility_test_1\";            gformWrapperDiv.insertAdjacentElement( \"afterend\", visibilitySpan );        }        const visibilityTestDiv = document.getElementById( \"gform_visibility_test_1\" );        let postRenderFired = false;        function triggerPostRender() {            if ( postRenderFired ) {                return;            }            postRenderFired = true;            gform.core.triggerPostRenderEvents( 1, 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<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":65,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-56","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ourlocality.org\/totallylocally\/index.php?rest_route=\/wp\/v2\/pages\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ourlocality.org\/totallylocally\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ourlocality.org\/totallylocally\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ourlocality.org\/totallylocally\/index.php?rest_route=\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/ourlocality.org\/totallylocally\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56"}],"version-history":[{"count":0,"href":"https:\/\/ourlocality.org\/totallylocally\/index.php?rest_route=\/wp\/v2\/pages\/56\/revisions"}],"wp:attachment":[{"href":"https:\/\/ourlocality.org\/totallylocally\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}