{"id":159,"date":"2026-07-16T13:36:22","date_gmt":"2026-07-16T06:36:22","guid":{"rendered":"https:\/\/cdn.padmapiazza.com\/web\/?page_id=159"},"modified":"2026-07-23T12:15:04","modified_gmt":"2026-07-23T05:15:04","slug":"contact","status":"publish","type":"page","link":"https:\/\/cdn.padmapiazza.com\/web\/contact\/","title":{"rendered":"Contact"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"159\" class=\"elementor elementor-159\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e37dd43 e-grid e-con-full e-con e-parent\" data-id=\"e37dd43\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c807b7b elementor-widget elementor-widget-html\" data-id=\"c807b7b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t\n<div class=\"container1\">\n        <!-- Formulir Kontak Lengkap -->\n        <form class=\"newsletter-form\" id=\"sheet-form\">\n            <input type=\"text\" name=\"nama\" placeholder=\"*Full Name \/ Company \/ Store\" required id=\"nama-input\" pattern=\"[A-Za-z0-9\\s]{2,}\" title=\"Name must be at least 2 characters and may only contain letters, numbers or spaces.\">\n            \n            <input type=\"email\" name=\"email\" placeholder=\"*Email (example@email.com)\" required id=\"email-input\">\n            \n\t\t\t<input type=\"tel\" name=\"wa_pengirim\" placeholder=\"Mobile\/WhatsApp Number Example: 08123456789 (Optional)\" id=\"wa-pengirim-input\" title=\"Your WhatsApp Number Example: 08123456789 (Optional)\">\n            \n            <select name=\"kategori\" required id=\"kategori-input\">\n                <option value=\"\" disabled selected>*Select Message Category...<\/option>\n                <option value=\"Sewa Tenant\">Sewa Tenant \/ Lapak<\/option>\n                <option value=\"Informasi\">Request for Information<\/option>\n                <option value=\"Kritik\/Saran\">Critic & Suggestions<\/option>\n            <\/select>\n\n            <textarea name=\"pesan\" placeholder=\"*Write your message or question here...\" rows=\"3\" required id=\"pesan-input\"><\/textarea>\n            \n            <div id=\"whatsapp-btn-container\" style=\"display: none;\">\n                <p> In addition to sending messages, for information on renting tenants, shops or other spaces, you can communicate directly with our admin via the WhatsApp link below.  <\/p>\n                <a href=\"#\" id=\"whatsapp-link\" target=\"_blank\" class=\"wa-form-btn\">\n                    <i class=\"fa-brands fa-whatsapp\"><\/i> Contact Sales via WhatsApp\n                <\/a>\n            <\/div>\n            <button type=\"submit\" id=\"submit-btn\">Send message<\/button>\n        <\/form>\n<\/div>\n\n\n<script>\n        const kategoriInput = document.getElementById('kategori-input');\n        const waContainer = document.getElementById('whatsapp-btn-container');\n        const waLink = document.getElementById('whatsapp-link');\n        const namaInput = document.getElementById('nama-input');\n        const emailInput = document.getElementById('email-input');\n        const submitBtn = document.getElementById('submit-btn');\n        const form = document.getElementById('sheet-form');\n        const pesanInput = document.getElementById('pesan-input');\n\n        const nomorWA = \"6285641712311\"; \n\n        function validateEmail(email) {\n            const re = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\n            return re.test(email);\n        }\n\n        function validateNama(nama) {\n            const re = \/^[A-Za-z0-9\\s]{2,}$\/;\n            return re.test(nama);\n        }\n        \n        function validatePesan(pesan) {\n            const re = \/^[\\s\\S]{2,}$\/;\n            return re.test(pesan);\n        }\n\n        function checkFormValidity() {\n            const namaValue = namaInput.value.trim();\n            const emailValue = emailInput.value.trim();\n            const pesanValue = pesanInput.value.trim();\n            const isInputsValid = validateNama(namaValue) && validateEmail(emailValue) && validatePesan(pesanValue);\n\n            if (isInputsValid) {\n                submitBtn.disabled = false;\n                submitBtn.style.opacity = \"1\";\n                submitBtn.style.cursor = \"pointer\";\n            } else {\n                submitBtn.disabled = true;\n                submitBtn.style.opacity = \"0.5\";\n                submitBtn.style.cursor = \"not-allowed\";\n            }\n\n            if (kategoriInput.value === 'Sewa Tenant') {\n                if (isInputsValid) {\n                    waLink.style.opacity = \"1\";\n                    waLink.style.pointerEvents = \"auto\";\n                    \n                    const namaEncoded = encodeURIComponent(namaValue);\n                    const pesanEncoded = encodeURIComponent(pesanValue);\n                    const teksPesan = encodeURIComponent(`Halo Tim Marketing Padma Piazza, saya ${namaValue} ingin menanyakan \"${pesanValue}\"`);\n                    waLink.href = `https:\/\/wa.me\/${nomorWA}?text=${teksPesan}`;\n                } else {\n                    waLink.style.opacity = \"0.5\";\n                    waLink.style.pointerEvents = \"none\";\n                }\n            }\n        }\n\n        namaInput.addEventListener('input', checkFormValidity);\n        emailInput.addEventListener('input', checkFormValidity);\n        pesanInput.addEventListener('input', checkFormValidity);\n        \n        kategoriInput.addEventListener('change', function() {\n            if (this.value === 'Sewa Tenant') {\n                waContainer.style.display = 'block';\n            } else {\n                waContainer.style.display = 'none';\n            }\n            checkFormValidity();\n        });\n\n        checkFormValidity();\n\n        waLink.addEventListener('click', function(e) {\n            if (nomorWA === \"6281234567890\") {\n                e.preventDefault();\n                alert(\"Peringatan Developer: Harap ganti variabel 'nomorWA' di dalam skrip dengan nomor WhatsApp marketing Anda yang valid.\");\n            }\n        });\n\n        const scriptURL = 'https:\/\/script.google.com\/macros\/s\/AKfycbzel1EA_DMZRqrp-Z1vPwjLZi-zu94ZpiMBepX77W2WL-NEQU58w3SBDtkZmXaQwNZ1rA\/exec';\n\n        form.addEventListener('submit', e => {\n            e.preventDefault();\n            \n            submitBtn.disabled = true;\n            submitBtn.innerText = 'Sending...';\n\n            fetch(scriptURL, { \n                method: 'POST', \n                body: new FormData(form)\n            })\n            .then(response => {\n                alert('Thank you! Your data and message have been successfully sent to our system.');\n                form.reset(); \n                waContainer.style.display = 'none'; \n                checkFormValidity(); \/\/ Reset status tombol ke disabled karena form kosong\n                submitBtn.innerText = 'Send Message';\n            })\n            .catch(error => {\n                console.error('Error!', error.message);\n                alert('Failed to send data. Please try again later');\n                checkFormValidity();\n                submitBtn.innerText = 'Send Message';\n            });\n        });\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c47940f elementor-widget elementor-widget-text-editor\" data-id=\"c47940f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h2>ADDRESS<\/h2><p><strong>PT Graha Padma Internusa<\/strong><br \/>Marketing Gallery Graha Padma<br \/>Jl Taman Anyelir L1\/1 Tambakharjo Semarang 50149<\/p><p><strong>Padma Piazza<\/strong><br \/>Jl. Padma Boulevard Perumahan Graha Padma Semarang<\/p><h2>CONTACTS<\/h2><p>Phone: (024) 762 0222<br \/>WA: 0895 6391 42059<br \/>Email: marcomm@padmapiazza.com<\/p>\t\t\t\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>GET IN TOUCH<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"class_list":["post-159","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/cdn.padmapiazza.com\/web\/wp-json\/wp\/v2\/pages\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdn.padmapiazza.com\/web\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cdn.padmapiazza.com\/web\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cdn.padmapiazza.com\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdn.padmapiazza.com\/web\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":229,"href":"https:\/\/cdn.padmapiazza.com\/web\/wp-json\/wp\/v2\/pages\/159\/revisions"}],"predecessor-version":[{"id":648,"href":"https:\/\/cdn.padmapiazza.com\/web\/wp-json\/wp\/v2\/pages\/159\/revisions\/648"}],"wp:attachment":[{"href":"https:\/\/cdn.padmapiazza.com\/web\/wp-json\/wp\/v2\/media?parent=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}