{"id":456,"date":"2024-10-03T14:33:50","date_gmt":"2024-10-03T14:33:50","guid":{"rendered":"https:\/\/anchoriang.com\/stagingv1\/?page_id=456"},"modified":"2026-05-11T10:58:08","modified_gmt":"2026-05-11T10:58:08","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/anchoriang.com\/stagingv1\/contact-us\/","title":{"rendered":"Contact Us"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"456\" class=\"elementor elementor-456\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-399bbf2 e-con-full e-flex e-con e-parent\" data-id=\"399bbf2\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a8539dd elementor-widget elementor-widget-image\" data-id=\"a8539dd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/anchoriang.com\/stagingv1\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1270\" height=\"363\" src=\"https:\/\/anchoriang.com\/stagingv1\/wp-content\/uploads\/2024\/09\/Anchoria-logo.png\" class=\"attachment-full size-full wp-image-18\" alt=\"\" srcset=\"https:\/\/anchoriang.com\/stagingv1\/wp-content\/uploads\/2024\/09\/Anchoria-logo.png 1270w, https:\/\/anchoriang.com\/stagingv1\/wp-content\/uploads\/2024\/09\/Anchoria-logo-300x86.png 300w, https:\/\/anchoriang.com\/stagingv1\/wp-content\/uploads\/2024\/09\/Anchoria-logo-1024x293.png 1024w, https:\/\/anchoriang.com\/stagingv1\/wp-content\/uploads\/2024\/09\/Anchoria-logo-768x220.png 768w\" sizes=\"(max-width: 1270px) 100vw, 1270px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-88d1ec3 e-con-full e-flex e-con e-child\" data-id=\"88d1ec3\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8967ed5 elementor-widget__width-initial elementor-widget elementor-widget-heading\" data-id=\"8967ed5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Contact us<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5ab5e30 e-flex e-con-boxed e-con e-parent\" data-id=\"5ab5e30\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0a4315c elementor-button-align-stretch elementor-widget elementor-widget-form\" data-id=\"0a4315c\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;step_next_label&quot;:&quot;Next&quot;,&quot;step_previous_label&quot;:&quot;Previous&quot;,&quot;button_width&quot;:&quot;100&quot;,&quot;step_type&quot;:&quot;number_text&quot;,&quot;step_icon_shape&quot;:&quot;circle&quot;}\" data-widget_type=\"form.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<form class=\"elementor-form\" method=\"post\" id=\"contactform\" name=\"contactform\" aria-label=\"contactform\">\n\t\t\t<input type=\"hidden\" name=\"post_id\" value=\"456\"\/>\n\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"0a4315c\"\/>\n\t\t\t<input type=\"hidden\" name=\"referer_title\" value=\"Contact Us\" \/>\n\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"queried_id\" value=\"456\"\/>\n\t\t\t\n\t\t\t<div class=\"ele-extensions-hide-form elementor-form-fields-wrapper elementor-labels-\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-name elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-name\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tName\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[name]\" id=\"form-field-name\" class=\"elementor-field elementor-size-lg  elementor-field-textual\" placeholder=\"Full Name\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-email elementor-field-group elementor-column elementor-field-group-email elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-email\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tEmail\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"email\" name=\"form_fields[email]\" id=\"form-field-email\" class=\"elementor-field elementor-size-lg  elementor-field-textual\" placeholder=\"Email Address\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-tel elementor-field-group elementor-column elementor-field-group-phone elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-phone\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tPhone Number\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<span class=\"ccfef-editor-intl-input\" data-id=\"form-field-phone\" data-field-id=\"df29adc\" data-default-country=\"ng\" data-include-countries=\"\" data-exclude-countries=\"\" data-common-countries=\"same\"  data-strict-mode=\"no\" data-dial-code-visibility=\"show\" style=\"display: none;\"><\/span>\t\t<input size=\"1\" type=\"tel\" name=\"form_fields[phone]\" id=\"form-field-phone\" class=\"elementor-field elementor-size-lg  elementor-field-textual\" placeholder=\"Phone Number\" required=\"required\" pattern=\"[0-9()#&amp;+*-=.]+\" title=\"Only numbers and phone characters (#, -, *, etc) are accepted.\">\n\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-textarea elementor-field-group elementor-column elementor-field-group-message elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-message\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tMessage\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<textarea class=\"elementor-field-textual elementor-field  elementor-size-lg\" name=\"form_fields[message]\" id=\"form-field-message\" rows=\"9\" placeholder=\"Write your Message here\"><\/textarea>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-group elementor-column elementor-field-type-submit elementor-col-100 e-form__buttons\">\n\t\t\t\t\t<button class=\"elementor-button elementor-size-sm\" type=\"submit\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Submit<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/form>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d2610b8 elementor-widget elementor-widget-html\" data-id=\"d2610b8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\n(function () {\n  function getFields(form) {\n    return {\n      name: form.querySelector('#form-field-name, [name=\"form_fields[name]\"], [name=\"name\"]'),\n      email: form.querySelector('#form-field-email, [name=\"form_fields[email]\"], [name=\"email\"]'),\n      message: form.querySelector('#form-field-message, [name=\"form_fields[message]\"], [name=\"message\"]')\n    };\n  }\n\n  function getSubmitButton(form) {\n    return form.querySelector('button[type=\"submit\"], input[type=\"submit\"]');\n  }\n\n  function getWrapper(field) {\n    return field ? field.closest('.elementor-field-group') || field.parentElement : null;\n  }\n\n  function getErrorBox(field) {\n    const wrapper = getWrapper(field);\n    if (!wrapper) return null;\n\n    let box = wrapper.querySelector('.custom-validation-error');\n    if (!box) {\n      box = document.createElement('div');\n      box.className = 'custom-validation-error';\n      box.style.color = '#d93025';\n      box.style.fontSize = '13px';\n      box.style.marginTop = '6px';\n      box.style.lineHeight = '1.4';\n      wrapper.appendChild(box);\n    }\n    return box;\n  }\n\n  function showError(field, message) {\n    if (!field) return false;\n    const box = getErrorBox(field);\n    if (box) box.textContent = message;\n    field.style.borderColor = '#d93025';\n    field.setAttribute('data-invalid', '1');\n    return false;\n  }\n\n  function clearError(field) {\n    if (!field) return true;\n    const box = getErrorBox(field);\n    if (box) box.textContent = '';\n    field.style.borderColor = '';\n    field.removeAttribute('data-invalid');\n    return true;\n  }\n\n  function validateName(field, silent = false) {\n    if (!field) return true;\n    const value = field.value.trim();\n\n    if (!value) return silent ? false : showError(field, 'Full name is required.');\n    if (\/<[^>]*>\/g.test(value)) return silent ? false : showError(field, 'HTML or script tags are not allowed.');\n    if (value.length < 2) return silent ? false : showError(field, 'Full name must be at least 2 characters.');\n    if (!\/^[a-zA-Z\\s'-]+$\/.test(value)) {\n      return silent ? false : showError(field, 'Full name can only contain letters, spaces, apostrophes, and hyphens.');\n    }\n\n    if (!silent) clearError(field);\n    return true;\n  }\n\n  function validateEmail(field, silent = false) {\n    if (!field) return true;\n    const value = field.value.trim();\n\n    if (!value) return silent ? false : showError(field, 'Email is required.');\n    if (\/<[^>]*>\/g.test(value)) return silent ? false : showError(field, 'HTML or script tags are not allowed.');\n\n    \/*\n      Stricter email format:\n      - only letters\/numbers and . _ + - before @\n      - domain must be valid\n      - must contain a dot after @\n      - blocks things like # and %\n    *\/\n    const emailPattern = \/^[A-Za-z0-9._+-]+@[A-Za-z0-9-]+\\.[A-Za-z]{2,}(?:\\.[A-Za-z]{2,})?$\/;\n\n    if (!emailPattern.test(value)) {\n      return silent ? false : showError(field, 'Please enter a valid email address, e.g. name@example.com.');\n    }\n\n    if (!silent) clearError(field);\n    return true;\n  }\n\n  function validateMessage(field, silent = false) {\n    if (!field) return true;\n    const value = field.value.trim();\n\n    if (!value) return silent ? false : showError(field, 'Message is required.');\n    if (\/<[^>]*>\/g.test(value)) return silent ? false : showError(field, 'HTML or script tags are not allowed.');\n    if (value.length < 10) return silent ? false : showError(field, 'Message must be at least 10 characters long.');\n    if (!\/[a-zA-Z0-9]\/.test(value)) return silent ? false : showError(field, 'Message cannot contain only symbols.');\n\n    if (!silent) clearError(field);\n    return true;\n  }\n\n  function isFormValid(form, silent = false) {\n    const fields = getFields(form);\n\n    const nameValid = validateName(fields.name, silent);\n    const emailValid = validateEmail(fields.email, silent);\n    const messageValid = validateMessage(fields.message, silent);\n\n    return nameValid && emailValid && messageValid;\n  }\n\n  function updateSubmitState(form) {\n    const btn = getSubmitButton(form);\n    if (!btn) return;\n\n    const valid = isFormValid(form, true);\n\n    btn.disabled = !valid;\n\n    if (!valid) {\n      btn.style.opacity = '0.5';\n      btn.style.cursor = 'not-allowed';\n      btn.style.pointerEvents = 'auto';\n      btn.style.filter = 'grayscale(100%)';\n    } else {\n      btn.style.opacity = '';\n      btn.style.cursor = '';\n      btn.style.pointerEvents = '';\n      btn.style.filter = '';\n    }\n  }\n\n  function isElementorForm(form) {\n    return form && form.matches('form.elementor-form');\n  }\n\n  function handleFieldValidation(field) {\n    const form = field.closest('form');\n    if (!isElementorForm(form)) return;\n\n    if (field.matches('#form-field-name, [name=\"form_fields[name]\"], [name=\"name\"]')) {\n      validateName(field, false);\n    }\n\n    if (field.matches('#form-field-email, [name=\"form_fields[email]\"], [name=\"email\"]')) {\n      validateEmail(field, false);\n    }\n\n    if (field.matches('#form-field-message, [name=\"form_fields[message]\"], [name=\"message\"]')) {\n      validateMessage(field, false);\n    }\n\n    updateSubmitState(form);\n  }\n\n  document.addEventListener('input', function (e) {\n    const field = e.target;\n    const form = field.closest('form');\n    if (!isElementorForm(form)) return;\n    handleFieldValidation(field);\n  }, true);\n\n  document.addEventListener('blur', function (e) {\n    const field = e.target;\n    const form = field.closest('form');\n    if (!isElementorForm(form)) return;\n    handleFieldValidation(field);\n  }, true);\n\n  document.addEventListener('click', function (e) {\n    const btn = e.target.closest('button[type=\"submit\"], input[type=\"submit\"]');\n    if (!btn) return;\n\n    const form = btn.closest('form');\n    if (!isElementorForm(form)) return;\n\n    const valid = isFormValid(form, false);\n    updateSubmitState(form);\n\n    if (!valid) {\n      e.preventDefault();\n      e.stopPropagation();\n      if (typeof e.stopImmediatePropagation === 'function') {\n        e.stopImmediatePropagation();\n      }\n      return false;\n    }\n  }, true);\n\n  document.addEventListener('submit', function (e) {\n    const form = e.target;\n    if (!isElementorForm(form)) return;\n\n    const valid = isFormValid(form, false);\n    updateSubmitState(form);\n\n    if (!valid) {\n      e.preventDefault();\n      e.stopPropagation();\n      if (typeof e.stopImmediatePropagation === 'function') {\n        e.stopImmediatePropagation();\n      }\n      return false;\n    }\n  }, true);\n\n  document.addEventListener('DOMContentLoaded', function () {\n    document.querySelectorAll('form.elementor-form').forEach(function (form) {\n      updateSubmitState(form);\n    });\n  });\n})();\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Contact us<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-456","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/anchoriang.com\/stagingv1\/wp-json\/wp\/v2\/pages\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anchoriang.com\/stagingv1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/anchoriang.com\/stagingv1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/anchoriang.com\/stagingv1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anchoriang.com\/stagingv1\/wp-json\/wp\/v2\/comments?post=456"}],"version-history":[{"count":70,"href":"https:\/\/anchoriang.com\/stagingv1\/wp-json\/wp\/v2\/pages\/456\/revisions"}],"predecessor-version":[{"id":872,"href":"https:\/\/anchoriang.com\/stagingv1\/wp-json\/wp\/v2\/pages\/456\/revisions\/872"}],"wp:attachment":[{"href":"https:\/\/anchoriang.com\/stagingv1\/wp-json\/wp\/v2\/media?parent=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}