{"id":1923,"date":"2025-03-02T11:12:27","date_gmt":"2025-03-02T11:12:27","guid":{"rendered":"https:\/\/chkdnc.com\/?page_id=1923"},"modified":"2025-03-04T17:03:37","modified_gmt":"2025-03-04T17:03:37","slug":"service-request_en","status":"publish","type":"page","link":"https:\/\/www.chkdnc.com\/index.php\/en\/service-request_en\/","title":{"rendered":"Explore The Possibilities"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1923\" class=\"elementor elementor-1923\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-30ae368 e-flex e-con-boxed e-con e-parent\" data-id=\"30ae368\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-916ffb8 elementor-widget elementor-widget-heading\" data-id=\"916ffb8\" 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\">Submit for Price Estimation<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-09f9319 elementor-widget elementor-widget-html\" data-id=\"09f9319\" 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>\r\n    let showAllThisFieldIf = [\r\n        {\r\n            floorRadio_1: {\r\n                services: [2]\r\n            },\r\n            otherFreeText: {\r\n                services: [5]\r\n            }\r\n        },\r\n        {\r\n           floorRadio_2: {\r\n                services: [3]\r\n            }\r\n        },\r\n        {\r\n            uploadAttachment: {\r\n                designBoolean: [2]\r\n            }\r\n        },\r\n    ];\r\n\r\n    document.addEventListener('DOMContentLoaded', conditionalFormFieldFunc);\r\n    document.addEventListener('DOMContentLoaded',function(){\r\n        jQuery(document).on('elementor\/popup\/show', (event, id, instance) => {\r\n            conditionalFormFieldFunc();\r\n        });\r\n});\r\n\r\n    function conditionalFormFieldFunc() {\r\n        for(let i=0; i < showAllThisFieldIf.length; i++) {\r\n        function testLogic() {\r\n            for (const [conditionalInputID, condition] of Object.entries(showAllThisFieldIf[i])) {\r\n                let conditionalInput = setInputsElemArray(conditionalInputID);\r\n                let match = true;\r\n                for (const [conditionID, conditionValues] of Object.entries(condition)) {\r\n                    let inputs = setInputsElemArray(conditionID);\r\n                    let selectedInputs = [];\r\n                    inputs.forEach((input, i) => { if (input.checked) { selectedInputs.push(i); } });\r\n                    if (inputs[0].tagName == 'SELECT') {\r\n                        selectedInputs.push(inputs[0].selectedIndex);\r\n                    }\r\n                    let adjustedConditionValues = conditionValues.map(e => e - 1);\r\n                    if (!(adjustedConditionValues.every(condition => selectedInputs.indexOf(condition) > -1))) {\r\n                        match = false;\r\n                    }\r\n                };\r\n                if (match) {\r\n                    conditionalInput.forEach(e => {\r\n                        e.closest('.elementor-field-group').style.display = \"block\";\r\n                        e.disabled = false;\r\n                    });\r\n                } else {\r\n                    conditionalInput.forEach(e => {\r\n                        e.closest('.elementor-field-group').style.display = \"none\";\r\n                        e.disabled = true;\r\n                    });\r\n                }\r\n            }\r\n        }\r\ntestLogic();\r\n\r\n    \/* Add event listeners *\/\r\n    for (const [conditionalInputID, condition] of Object.entries(showAllThisFieldIf[i])) {\r\nfor (const [conditionID, conditionValues] of Object.entries(condition)) {\r\n        let inputs = setInputsElemArray(conditionID);\r\ninputs.forEach(input => {\r\n        input.addEventListener('input', function () {\r\n            testLogic();\r\n        })\r\n    })\r\n}\r\n}\r\n\r\n    function setInputsElemArray(ID) {\r\n        let selectors = `[name=\"form_fields[${ID}]\"]`;\r\n    let inputs = Array.from(document.querySelectorAll(selectors));\r\n    if (!inputs.length) {\r\n        selectors = `[name=\"form_fields[${ID}][]\"]`;\r\n    inputs = Array.from(document.querySelectorAll(selectors));\r\n}\r\n    return inputs;\r\n}\r\n}};\r\n\r\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<div class=\"elementor-element elementor-element-7a83c21 e-con-full e-flex e-con e-parent\" data-id=\"7a83c21\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8630a80 elementor-widget__width-initial elementor-widget-mobile__width-initial form-master elementor-button-align-stretch elementor-widget elementor-widget-form\" data-id=\"8630a80\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;step_type&quot;:&quot;none&quot;,&quot;step_icon_shape&quot;:&quot;none&quot;,&quot;button_width&quot;:&quot;100&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\" >\n\t\t\t<input type=\"hidden\" name=\"post_id\" value=\"1923\"\/>\n\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"8630a80\"\/>\n\t\t\t<input type=\"hidden\" name=\"referer_title\" value=\"Explore The Possibilities\" \/>\n\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"queried_id\" value=\"1923\"\/>\n\t\t\t\n\t\t\t<div class=\"elementor-form-fields-wrapper elementor-labels-above\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-select elementor-field-group elementor-column elementor-field-group-services elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-services\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tService\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field elementor-select-wrapper remove-before \">\n\t\t\t<div class=\"select-caret-down-wrapper\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-eicon-caret-down\" viewBox=\"0 0 571.4 571.4\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M571 393Q571 407 561 418L311 668Q300 679 286 679T261 668L11 418Q0 407 0 393T11 368 36 357H536Q550 357 561 368T571 393Z\"><\/path><\/svg>\t\t\t<\/div>\n\t\t\t<select name=\"form_fields[services]\" id=\"form-field-services\" class=\"elementor-field-textual elementor-size-sm\" required=\"required\">\n\t\t\t\t\t\t\t\t\t<option value=\"Home or Building Renovation\">Home or Building Renovation<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"Home or Building Extension\">Home or Building Extension<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"Build New\">Build New<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"Interior Work &amp; Design\">Interior Work &amp; Design<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"Others - please specify\">Others - please specify<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-otherFreeText elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[otherFreeText]\" id=\"form-field-otherFreeText\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Specify more\">\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-select elementor-field-group elementor-column elementor-field-group-floorRadio_1 elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-floorRadio_1\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tNo. of floor(s)\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field elementor-select-wrapper remove-before \">\n\t\t\t<div class=\"select-caret-down-wrapper\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-eicon-caret-down\" viewBox=\"0 0 571.4 571.4\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M571 393Q571 407 561 418L311 668Q300 679 286 679T261 668L11 418Q0 407 0 393T11 368 36 357H536Q550 357 561 368T571 393Z\"><\/path><\/svg>\t\t\t<\/div>\n\t\t\t<select name=\"form_fields[floorRadio_1]\" id=\"form-field-floorRadio_1\" class=\"elementor-field-textual elementor-size-sm\">\n\t\t\t\t\t\t\t\t\t<option value=\"1 \">1 <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2\">2<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"3\">3<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"&gt; 3\">&gt; 3<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-select elementor-field-group elementor-column elementor-field-group-floorRadio_2 elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-floorRadio_2\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tNo. of floor(s)\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field elementor-select-wrapper remove-before \">\n\t\t\t<div class=\"select-caret-down-wrapper\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-eicon-caret-down\" viewBox=\"0 0 571.4 571.4\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M571 393Q571 407 561 418L311 668Q300 679 286 679T261 668L11 418Q0 407 0 393T11 368 36 357H536Q550 357 561 368T571 393Z\"><\/path><\/svg>\t\t\t<\/div>\n\t\t\t<select name=\"form_fields[floorRadio_2]\" id=\"form-field-floorRadio_2\" class=\"elementor-field-textual elementor-size-sm\">\n\t\t\t\t\t\t\t\t\t<option value=\"1 \">1 <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2\">2<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"3\">3<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"&gt; 3\">&gt; 3<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-select elementor-field-group elementor-column elementor-field-group-designBoolean elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-designBoolean\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tDesign ready?\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field elementor-select-wrapper remove-before \">\n\t\t\t<div class=\"select-caret-down-wrapper\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-eicon-caret-down\" viewBox=\"0 0 571.4 571.4\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M571 393Q571 407 561 418L311 668Q300 679 286 679T261 668L11 418Q0 407 0 393T11 368 36 357H536Q550 357 561 368T571 393Z\"><\/path><\/svg>\t\t\t<\/div>\n\t\t\t<select name=\"form_fields[designBoolean]\" id=\"form-field-designBoolean\" class=\"elementor-field-textual elementor-size-sm\">\n\t\t\t\t\t\t\t\t\t<option value=\"No, it is not. please provide support on design\">No, it is not. please provide support on design<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"Yes, it is\">Yes, it is<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-upload elementor-field-group elementor-column elementor-field-group-uploadAttachment elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-uploadAttachment\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tAttachments\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<input type=\"file\" name=\"form_fields[uploadAttachment][]\" id=\"form-field-uploadAttachment\" class=\"elementor-field elementor-size-sm  elementor-upload-field\" multiple=\"multiple\" data-maxsize=\"150\" data-maxsize-message=\"This file exceeds the maximum allowed size.\">\n\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-number elementor-field-group elementor-column elementor-field-group-totalArea elementor-col-50 elementor-sm-50\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-totalArea\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tTotal Area (SQM)\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t<input type=\"number\" name=\"form_fields[totalArea]\" id=\"form-field-totalArea\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" min=\"0\" max=\"5000\" >\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-number elementor-field-group elementor-column elementor-field-group-field_440fb58 elementor-col-50 elementor-sm-50\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-field_440fb58\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tPlanned Budget(\u0e3f)\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t<input type=\"number\" name=\"form_fields[field_440fb58]\" id=\"form-field-field_440fb58\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" min=\"300000\" max=\"\" >\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-field_ce78b29 elementor-col-50 elementor-sm-50 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-field_ce78b29\" class=\"elementor-field-label\">\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[field_ce78b29]\" id=\"form-field-field_ce78b29\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" 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-number elementor-field-group elementor-column elementor-field-group-field_7b9e888 elementor-col-50 elementor-sm-50 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-field_7b9e888\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tTel. No\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t<input type=\"number\" name=\"form_fields[field_7b9e888]\" id=\"form-field-field_7b9e888\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" required=\"required\" min=\"\" max=\"\" >\n\t\t\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\">Estimate Price<\/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>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Submit for Price Estimation<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1923","page","type-page","status-publish","hentry"],"blocksy_meta":{"has_hero_section":"disabled","styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"admin","author_link":"https:\/\/www.chkdnc.com\/index.php\/author\/thangkumphol\/"},"rttpg_comment":0,"rttpg_category":" <a href=\"https:\/\/www.chkdnc.com\/index.php\/en\/\" rel=\"tag\">English<\/a>","rttpg_excerpt":"Submit for Price Estimation","_links":{"self":[{"href":"https:\/\/www.chkdnc.com\/index.php\/wp-json\/wp\/v2\/pages\/1923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chkdnc.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.chkdnc.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.chkdnc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chkdnc.com\/index.php\/wp-json\/wp\/v2\/comments?post=1923"}],"version-history":[{"count":89,"href":"https:\/\/www.chkdnc.com\/index.php\/wp-json\/wp\/v2\/pages\/1923\/revisions"}],"predecessor-version":[{"id":2424,"href":"https:\/\/www.chkdnc.com\/index.php\/wp-json\/wp\/v2\/pages\/1923\/revisions\/2424"}],"wp:attachment":[{"href":"https:\/\/www.chkdnc.com\/index.php\/wp-json\/wp\/v2\/media?parent=1923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}