{"id":6508,"date":"2026-07-08T23:18:14","date_gmt":"2026-07-08T23:18:14","guid":{"rendered":"https:\/\/newhafa.translationkhana.com\/request-a-quote\/"},"modified":"2026-07-08T23:24:10","modified_gmt":"2026-07-08T23:24:10","slug":"request-a-quote","status":"publish","type":"page","link":"https:\/\/newhafa.translationkhana.com\/en\/request-a-quote\/","title":{"rendered":"Request a Quote"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]    <div id=\"hgrf_1380\" style=\"max-width:520px;margin:0 auto;font-family:inherit\" dir=\"ltr\">\n        <div class=\"hgrf-form-view\">\n            <h3 style=\"font-size:20px;font-weight:800;color:#151D26;margin:0 0 6px\">\n                Request a Quote            <\/h3>\n            <p style=\"font-size:13px;color:#5a6a82;margin:0 0 22px\">\n                No account needed \u2014 you'll receive a reference number to track your request.            <\/p>\n\n            <input type=\"text\" class=\"hgrf-name\" placeholder=\"Full Name\"\n                   style=\"width:100%;box-sizing:border-box;padding:12px 14px;margin-bottom:10px;border:1.5px solid #E4E7EE;border-radius:9px;font-size:14px\">\n            <input type=\"email\" class=\"hgrf-email\" placeholder=\"Email Address\"\n                   style=\"width:100%;box-sizing:border-box;padding:12px 14px;margin-bottom:10px;border:1.5px solid #E4E7EE;border-radius:9px;font-size:14px\">\n            <input type=\"tel\" class=\"hgrf-phone\" placeholder=\"Phone Number\"\n                   style=\"width:100%;box-sizing:border-box;padding:12px 14px;margin-bottom:10px;border:1.5px solid #E4E7EE;border-radius:9px;font-size:14px\">\n            <input type=\"text\" class=\"hgrf-subject\" value=\"\"\n                   placeholder=\"Subject \/ Service Needed\"\n                   style=\"width:100%;box-sizing:border-box;padding:12px 14px;margin-bottom:10px;border:1.5px solid #E4E7EE;border-radius:9px;font-size:14px\">\n            <textarea class=\"hgrf-details\" rows=\"4\" placeholder=\"Request details (optional)\"\n                      style=\"width:100%;box-sizing:border-box;padding:12px 14px;margin-bottom:14px;border:1.5px solid #E4E7EE;border-radius:9px;font-size:14px;font-family:inherit;resize:vertical\"><\/textarea>\n\n            <label style=\"display:block;font-size:13px;font-weight:700;color:#151D26;margin-bottom:6px\">\n                \ud83d\udcce Attach examples or reference files (optional)            <\/label>\n            <input type=\"file\" class=\"hgrf-files\" multiple accept=\".pdf,.jpg,.jpeg,.png,.doc,.docx,.dwg,.xlsx\"\n                   style=\"width:100%;box-sizing:border-box;padding:10px 14px;margin-bottom:6px;border:1.5px dashed #C7CEDD;border-radius:9px;font-size:13px;background:#f7f8fa\">\n            <p style=\"font-size:11px;color:#94a3b8;margin:0 0 14px\">\n                Up to 5 files \u2014 drawings, specs, reference images (PDF, JPG, PNG, DOC, DWG, XLSX)            <\/p>\n\n            <input type=\"hidden\" class=\"hgrf-category\" value=\"\">\n            <div class=\"hgrf-error\" style=\"display:none;color:#dc2626;font-size:13px;margin-bottom:10px\"><\/div>\n\n            <button type=\"button\" class=\"hgrf-submit\"\n                    style=\"width:100%;background:#303E8C;color:#fff;border:none;padding:14px;border-radius:9px;font-size:14.5px;font-weight:800;cursor:pointer\">\n                \ud83d\ude80 Submit Request            <\/button>\n        <\/div>\n\n        <div class=\"hgrf-success-view\" style=\"display:none;text-align:center;padding:20px 0\">\n            <div style=\"font-size:44px;margin-bottom:10px\">\u2705<\/div>\n            <h3 style=\"font-size:19px;font-weight:800;color:#151D26;margin:0 0 8px\">\n                Your request has been submitted!            <\/h3>\n            <p style=\"font-size:13px;color:#5a6a82;margin:0 0 18px\">\n                Our team will contact you within 48 hours. Your reference number:            <\/p>\n            <div style=\"background:#f0f4ff;border-radius:10px;padding:16px;margin-bottom:18px\">\n                <div class=\"hgrf-ref-display\" style=\"font-size:22px;font-weight:800;color:#303E8C;letter-spacing:1px\"><\/div>\n            <\/div>\n            <p style=\"font-size:12px;color:#94a3b8\">\n                This number has also been sent to your email.            <\/p>\n        <\/div>\n    <\/div>\n\n    <script>\n    (function(){\n        var root = document.getElementById('hgrf_1380');\n        if (!root) return;\n        var btn = root.querySelector('.hgrf-submit');\n        btn.addEventListener('click', function(){\n            var errEl = root.querySelector('.hgrf-error');\n            errEl.style.display = 'none';\n            var data = new FormData();\n            data.append('action', 'hafa_guest_submit_rfq');\n            data.append('nonce', '84212412b4');\n            data.append('name', root.querySelector('.hgrf-name').value);\n            data.append('email', root.querySelector('.hgrf-email').value);\n            data.append('phone', root.querySelector('.hgrf-phone').value);\n            data.append('subject', root.querySelector('.hgrf-subject').value);\n            data.append('details', root.querySelector('.hgrf-details').value);\n            data.append('service_category', root.querySelector('.hgrf-category').value);\n            var fileInput = root.querySelector('.hgrf-files');\n            if (fileInput && fileInput.files.length) {\n                for (var i = 0; i < fileInput.files.length && i < 5; i++) {\n                    data.append('attachments[]', fileInput.files[i]);\n                }\n            }\n\n            btn.disabled = true;\n            btn.textContent = 'Submitting...';\n\n            fetch('https:\/\/newhafa.translationkhana.com\/wp-admin\/admin-ajax.php', { method: 'POST', body: data, credentials: 'same-origin' })\n                .then(function(r){ return r.json(); })\n                .then(function(res){\n                    if (res.success) {\n                        root.querySelector('.hgrf-form-view').style.display = 'none';\n                        var successView = root.querySelector('.hgrf-success-view');\n                        successView.style.display = 'block';\n                        successView.querySelector('.hgrf-ref-display').textContent = res.data.ref;\n                    } else {\n                        errEl.textContent = res.data;\n                        errEl.style.display = 'block';\n                        btn.disabled = false;\n                        btn.textContent = '\ud83d\ude80 Submit Request';\n                    }\n                })\n                .catch(function(){\n                    errEl.textContent = 'Something went wrong, please try again.';\n                    errEl.style.display = 'block';\n                    btn.disabled = false;\n                    btn.textContent = '\ud83d\ude80 Submit Request';\n                });\n        });\n    })();\n    <\/script>\n    [\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-6508","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/newhafa.translationkhana.com\/en\/wp-json\/wp\/v2\/pages\/6508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newhafa.translationkhana.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/newhafa.translationkhana.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/newhafa.translationkhana.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newhafa.translationkhana.com\/en\/wp-json\/wp\/v2\/comments?post=6508"}],"version-history":[{"count":2,"href":"https:\/\/newhafa.translationkhana.com\/en\/wp-json\/wp\/v2\/pages\/6508\/revisions"}],"predecessor-version":[{"id":6511,"href":"https:\/\/newhafa.translationkhana.com\/en\/wp-json\/wp\/v2\/pages\/6508\/revisions\/6511"}],"wp:attachment":[{"href":"https:\/\/newhafa.translationkhana.com\/en\/wp-json\/wp\/v2\/media?parent=6508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}