{"id":5076,"date":"2023-06-15T09:08:16","date_gmt":"2023-06-15T08:08:16","guid":{"rendered":"https:\/\/dynamicearth.org.uk\/?page_id=5076"},"modified":"2023-08-05T13:46:14","modified_gmt":"2023-08-05T12:46:14","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/dynamicearth.org.uk\/contact-us\/","title":{"rendered":"Contact Us"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1508px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:35px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:35px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><script>\ngform.addFilter('gform_datepicker_options_pre_init', function(optionsObj, formId, fieldId) {\n    \/\/ Apply to form with ID 2 and field with input ID 8\n    if (formId == 2 && fieldId == 8) {\n        optionsObj.minDate = 1;\n    }\n    return optionsObj;\n});\n\n<\/script><div class=\"fusion-title title fusion-title-1 fusion-sep-none fusion-title-center fusion-title-text fusion-title-size-one\" style=\"--awb-margin-top-small:10px;--awb-margin-right-small:0px;--awb-margin-bottom-small:10px;--awb-margin-left-small:0px;\"><h1 class=\"fusion-title-heading title-heading-center fusion-responsive-typography-calculated\" style=\"margin:0;--fontSize:102;line-height:1;\">ENQUIRIES<\/h1><\/div><\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-center fusion-flex-justify-content-center fusion-flex-content-wrap\" style=\"max-width:1508px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-3 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1508px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><script type=\"text\/javascript\">\ndocument.getElementById('form-selector').addEventListener('change', function(){\n    \/\/ hide all forms\n    var forms = document.getElementsByClassName('form-container');\n    for (var i = 0; i < forms.length; i++) {\n        forms[i].style.display = 'none';\n    }\n    \n    \/\/ show selected form\n    var selectedForm = document.getElementById(this.value);\n    if (selectedForm) {\n        selectedForm.style.display = 'block';\n    }\n});\n<\/script><script>\n\/\/ Datepicker 1 becomes minDate for datepicker 2\n\ngform.addFilter( 'gform_datepicker_options_pre_init', function( optionsObj, formId, fieldId ) {\n    if ( formId == 3 && fieldId == 12 ) {\n        optionsObj.minDate = 0;\n        optionsObj.onClose = function (dateText, inst) {\n             jQuery('#input_3_13').datepicker('option', 'minDate', dateText).datepicker('setDate', dateText);\n        };\n    }\n    return optionsObj;\n});\n<\/script>\n\n<script>\njQuery(document).ready(function($){\n    $('#input_3_7').blur(function(){\n        var email1 = $(this).val();\n        var email2 = $('#input_3_7_2').val();\n\n        if(email1 != email2){\n            $('#input_3_7_2').css('background', 'linear-gradient(to right, rgba(255,0,0,0.6), rgba(255,255,255,0), rgba(255,0,0,0.6))'); \/\/ changes the background of the confirmation email field to gradient\n        } else {\n            $('#input_3_7_2').css('background', ''); \/\/ removes the gradient background\n        }\n    });\n\n    $('#input_3_7_2').keyup(function(){\n        var email1 = $('#input_3_7').val();\n        var email2 = $(this).val();\n\n        if(email1 != email2){\n            $(this).css('background', 'linear-gradient(to right, rgba(255,0,0,0.6), rgba(255,255,255,0), rgba(255,0,0,0.6))'); \/\/ changes the background of the confirmation email field to gradient\n        } else {\n            $(this).css('background', ''); \/\/ removes the gradient background\n        }\n    });\n});\n<\/script>\n<script>\n    document.getElementById('form-selector').addEventListener('change', function() {\n        if (this.value === 'form4') {\n            window.location.href = 'https:\/\/dynamicearth.org.uk\/plan-your-visit\/group-bookings\/#group_booking_section';\n        }\n    });\n<\/script><\/div><\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"100-width.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-5076","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/dynamicearth.org.uk\/wp-json\/wp\/v2\/pages\/5076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dynamicearth.org.uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dynamicearth.org.uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dynamicearth.org.uk\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/dynamicearth.org.uk\/wp-json\/wp\/v2\/comments?post=5076"}],"version-history":[{"count":0,"href":"https:\/\/dynamicearth.org.uk\/wp-json\/wp\/v2\/pages\/5076\/revisions"}],"wp:attachment":[{"href":"https:\/\/dynamicearth.org.uk\/wp-json\/wp\/v2\/media?parent=5076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}