{"id":25,"date":"2026-05-09T18:20:40","date_gmt":"2026-05-09T18:20:40","guid":{"rendered":"http:\/\/www.set3.design\/v3\/contact\/"},"modified":"2026-05-09T18:20:40","modified_gmt":"2026-05-09T18:20:40","slug":"contact","status":"publish","type":"page","link":"http:\/\/www.set3.design\/v3\/contact\/","title":{"rendered":"Contact"},"content":{"rendered":"    <div id=\"set3-form-alert\" class=\"alert d-none\" role=\"alert\" aria-live=\"polite\"><\/div>\n    <div class=\"card-dark p-4 shadow-sm\" data-aos=\"fade-up\">\n      <form id=\"set3-contact-form\" method=\"post\" novalidate>\n        <input type=\"hidden\" name=\"action\" value=\"set3_submit_contact\">\n        <input type=\"hidden\" name=\"nonce\" value=\"c03daa9c29\">\n        <input type=\"hidden\" name=\"recaptcha_token\" id=\"set3_recaptcha_token\" value=\"\">\n        <input type=\"hidden\" name=\"source_url\" value=\"http:\/\/www.set3.design\/v3\/wp-json\/wp\/v2\/pages\/25\">\n        <div class=\"row g-3\"><div class=\"col-md-6\"><label class=\"form-label\" for=\"set3_contact_name\">Name *<\/label><input id=\"set3_contact_name\" name=\"name\" class=\"form-control\" required autocomplete=\"name\"><\/div><div class=\"col-md-6\"><label class=\"form-label\" for=\"set3_contact_email\">Email *<\/label><input id=\"set3_contact_email\" type=\"email\" name=\"email\" class=\"form-control\" required autocomplete=\"email\"><\/div><div class=\"col-md-6\"><label class=\"form-label\" for=\"set3_contact_phone\">Phone<\/label><input id=\"set3_contact_phone\" name=\"phone\" class=\"form-control\" autocomplete=\"tel\"><\/div><div class=\"col-md-6\"><label class=\"form-label\" for=\"set3_contact_subject\">Subject<\/label><input id=\"set3_contact_subject\" name=\"subject\" class=\"form-control\" value=\"\" placeholder=\"e.g. Kitchen redesign\"><\/div><div class=\"hp-field\" aria-hidden=\"true\"><label>Website<\/label><input type=\"text\" name=\"website\" tabindex=\"-1\" autocomplete=\"off\"><\/div><div class=\"col-12\"><label class=\"form-label\" for=\"set3_contact_message\">Message *<\/label><textarea id=\"set3_contact_message\" name=\"message\" class=\"form-control\" rows=\"6\" required placeholder=\"Tell us about your project\u2026\"><\/textarea><\/div><div class=\"col-12\"><button class=\"btn btn-brand\" type=\"submit\"><span class=\"set3-btn-label\">Send Message<\/span><span class=\"spinner\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div>\n      <\/form>\n    <\/div>\n    <script>\n    document.addEventListener('DOMContentLoaded', function(){\n      const form = document.getElementById('set3-contact-form');\n      if(!form || form.dataset.set3Ready === '1') return;\n      form.dataset.set3Ready = '1';\n      const alertBox = document.getElementById('set3-form-alert');\n      const ajaxUrl = \"\\\/v3\\\/wp-admin\\\/admin-ajax.php\";\n      const restUrl = \"http:\\\/\\\/www.set3.design\\\/v3\\\/wp-json\\\/set3\\\/v1\\\/contact\";\n      const siteKey = \"\";\n      function showAlert(type, msg){ if(!alertBox) return; alertBox.className = 'alert alert-' + type; alertBox.textContent = msg; alertBox.scrollIntoView({ behavior: 'smooth', block: 'nearest' }); }\n      async function parseJsonResponse(response){ const text = await response.text(); try { return JSON.parse(text || '{}'); } catch (error) { const clean = (text || '').replace(\/<[^>]*>?\/gm, '').trim().substring(0, 180); throw new Error(clean || 'Invalid server response.'); } }\n      async function postForm(endpoint, useRest){ const fd = new FormData(form); if (useRest) { fd.delete('action'); } const response = await fetch(endpoint, { method: 'POST', body: fd, credentials: 'same-origin', headers: { 'X-Requested-With': 'XMLHttpRequest' } }); const data = await parseJsonResponse(response); data._status = response.status; return data; }\n      async function submitNow(){ try { let data = await postForm(ajaxUrl, false); if (!data.ok && data._status >= 500) { data = await postForm(restUrl, true); } showAlert(data.ok ? 'success' : 'danger', data.message || 'Unexpected response.'); if (data.ok) { form.reset(); } } catch (firstError) { try { const data = await postForm(restUrl, true); showAlert(data.ok ? 'success' : 'danger', data.message || 'Unexpected response.'); if (data.ok) { form.reset(); } } catch (secondError) { console.error('Set3 contact form failed:', firstError, secondError); showAlert('danger', 'Could not send the message. Please refresh the page and try again, or contact Set3 directly by phone or email.'); } } }\n      form.addEventListener('submit', function(e){ e.preventDefault(); const btn = form.querySelector('button[type=\"submit\"]'); if(btn){ btn.disabled = true; btn.classList.add('loading'); } const finish = function(){ submitNow().finally(function(){ if(btn){ btn.disabled = false; btn.classList.remove('loading'); } }); }; if (siteKey && window.grecaptcha) { grecaptcha.ready(function(){ grecaptcha.execute(siteKey, {action:'contact'}).then(function(token){ const field = document.getElementById('set3_recaptcha_token'); if(field) field.value = token; finish(); }).catch(function(){ showAlert('danger', 'Verification could not load. Please refresh and try again.'); if(btn){ btn.disabled = false; btn.classList.remove('loading'); } }); }); } else { finish(); } });\n    });\n    <\/script>\n        \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_rsm_seo_title":"","_rsm_meta_description":"","_rsm_focus_keyword":"Contact","_rsm_secondary_keywords":"","_rsm_canonical":"","_rsm_robots":"","_rsm_schema_type":"","_rsm_og_title":"","_rsm_og_description":"","_rsm_og_image":"","_rsm_twitter_title":"","_rsm_twitter_description":"","_rsm_twitter_image":"","_rsm_breadcrumb_title":"","_rsm_faq_items":"","_rsm_cornerstone":"","_rsm_last_reviewed":"","_rsm_video_url":"","_rsm_video_thumbnail":"","_rsm_video_duration":"","_rsm_video_transcript":"","_rsm_max_snippet":"","_rsm_max_image_preview":"","_rsm_max_video_preview":"","_rsm_unavailable_after":"","_rsm_hreflang_alternates":"","footnotes":""},"class_list":["post-25","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.set3.design\/v3\/wp-json\/wp\/v2\/pages\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.set3.design\/v3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.set3.design\/v3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.set3.design\/v3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.set3.design\/v3\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":0,"href":"http:\/\/www.set3.design\/v3\/wp-json\/wp\/v2\/pages\/25\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.set3.design\/v3\/wp-json\/wp\/v2\/media?parent=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}