{"id":433,"date":"2025-05-07T13:51:42","date_gmt":"2025-05-07T13:51:42","guid":{"rendered":"https:\/\/vendtech.co.za\/seats\/?page_id=433"},"modified":"2025-10-07T13:25:15","modified_gmt":"2025-10-07T13:25:15","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/www.vendtech.co.za\/seats\/contact-us\/","title":{"rendered":"Contact Us"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"433\" class=\"elementor elementor-433\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6b47450 e-flex e-con-boxed e-con e-parent\" data-id=\"6b47450\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-23440f9 e-con-full e-flex e-con e-child\" data-id=\"23440f9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-da4c632 elementor-widget elementor-widget-text-editor\" data-id=\"da4c632\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Kindly complete the form below to request your quotation.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4754002 elementor-button-align-stretch elementor-widget elementor-widget-form\" data-id=\"4754002\" 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\" name=\"New Form\" aria-label=\"New Form\">\n\t\t\t<input type=\"hidden\" name=\"post_id\" value=\"433\"\/>\n\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"4754002\"\/>\n\t\t\t<input type=\"hidden\" name=\"referer_title\" value=\"Contact Vendtech | Driver Seats South Africa\" \/>\n\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"queried_id\" value=\"433\"\/>\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-email elementor-field-group elementor-column elementor-field-group-your_email elementor-col-100 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"email\" name=\"form_fields[your_email]\" id=\"form-field-your_email\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Your Email\" 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-text elementor-field-group elementor-column elementor-field-group-your_name elementor-col-100 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[your_name]\" id=\"form-field-your_name\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Your Name\" 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-your_phone elementor-col-100 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t<input size=\"1\" type=\"tel\" name=\"form_fields[your_phone]\" id=\"form-field-your_phone\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Your Phone\" 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-text elementor-field-group elementor-column elementor-field-group-product_name 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[product_name]\" id=\"form-field-product_name\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Product 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-recaptcha_v3 elementor-field-group elementor-column elementor-field-group-field_8553461 elementor-col-100 recaptcha_v3-bottomright\">\n\t\t\t\t\t<div class=\"elementor-field\" id=\"form-field-field_8553461\"><div class=\"elementor-g-recaptcha\" data-sitekey=\"6LcS79orAAAAAH_u7f27cZsWUjdu8mzWNxMKzCLU\" data-type=\"v3\" data-action=\"Form\" data-badge=\"bottomright\" data-size=\"invisible\"><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text\">\n\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[field_02844c7]\" id=\"form-field-field_02844c7\" class=\"elementor-field elementor-size-sm \" style=\"display:none !important;\">\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-your_message elementor-col-100 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t<textarea class=\"elementor-field-textual elementor-field  elementor-size-sm\" name=\"form_fields[your_message]\" id=\"form-field-your_message\" rows=\"4\" placeholder=\"Your Message\" required=\"required\"><\/textarea>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-html elementor-field-group elementor-column elementor-field-group-field_0739847 elementor-col-100\">\n\t\t\t\t\t<p>\n    <label>\n        <input type=\"checkbox\" name=\"mc4wp-subscribe\" value=\"1\" \/>\n        Subscribe to our newsletter.    <\/label>\n<\/p>\n\n\n\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\">Send<\/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-d6e5c11 elementor-widget elementor-widget-spacer\" data-id=\"d6e5c11\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\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-8101819 e-con-full e-flex e-con e-child\" data-id=\"8101819\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0c74196 elementor-widget elementor-widget-heading\" data-id=\"0c74196\" 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\">Vendtech Office<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a475fed elementor-widget elementor-widget-text-editor\" data-id=\"a475fed\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>Sales and Marketing:<\/strong><br \/>Pierre Wolmarans<br \/><strong>Tel:<\/strong> +27 82 784 6463<\/p><p><strong>Production:<\/strong><br \/>Francois Pienaar<br \/><strong>Tel:<\/strong> +27 82 561 6055<\/p><p><strong>Admin:<\/strong><br \/>Irma Erasmus<br \/><strong>Tel:<\/strong> +27 84 821 3555<\/p><p><strong>Office:<\/strong><br \/>Reception<br \/><strong>Tel:<\/strong> +27 12 492 0545<\/p><p><strong>Address:<\/strong><br \/>Seat King \/ Vendtech<br \/>Plot 67<br \/>Rayton<br \/>Pretoria<\/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\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b18c2a6 e-flex e-con-boxed e-con e-parent\" data-id=\"b18c2a6\" 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-8101424 elementor-widget elementor-widget-html\" data-id=\"8101424\" 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\nfunction populateFormFields() {\r\n    console.log('Attempting to populate product_name field...');\r\n\r\n    \/\/ Step 1: Check URL parameter\r\n    const urlParams = new URLSearchParams(window.location.search);\r\n    const formattedProductName = urlParams.get('formatted_product_name');\r\n    if (!formattedProductName) {\r\n        console.error('No formatted_product_name parameter found in URL. URL:', window.location.href);\r\n        \/\/ Fallback to old param if present\r\n        const oldProductName = urlParams.get('product_name');\r\n        if (oldProductName) {\r\n            console.log('Using legacy product_name parameter.');\r\n            formattedProductName = decodeURIComponent(oldProductName);\r\n        } else {\r\n            return false;\r\n        }\r\n    }\r\n    const decodedFormattedProductName = decodeURIComponent(formattedProductName);\r\n    console.log('Formatted product name received:', decodedFormattedProductName);\r\n\r\n    \/\/ Step 2: Find the form\r\n    let contactForm = document.querySelector('#contact-form');\r\n    if (!contactForm) {\r\n        contactForm = document.querySelector('form.elementor-form, .elementor-form, form[action*=\"contact\"], form.contact-form');\r\n        if (!contactForm) {\r\n            console.log('No contact form found with common selectors.');\r\n            return false;\r\n        }\r\n    }\r\n    console.log('Contact form found:', contactForm);\r\n\r\n    \/\/ Step 3: Find the product name field\r\n    let productNameField = document.querySelector('#product_name');\r\n    if (!productNameField) {\r\n        productNameField = document.querySelector('input[name=\"product_name\"], input[id*=\"product_name\"], select[name=\"product_name\"], input[placeholder*=\"Product\"]');\r\n        if (!productNameField) {\r\n            console.log('Field for product name not found.');\r\n            const formFields = contactForm.querySelectorAll('input, select, textarea');\r\n            console.log('All form fields:');\r\n            formFields.forEach((field, index) => {\r\n                console.log(`Field ${index}: type=\"${field.type}\", id=\"${field.id}\", name=\"${field.name}\", placeholder=\"${field.placeholder}\", classes=\"${field.className}\"`);\r\n            });\r\n            return false;\r\n        }\r\n    }\r\n    console.log('Product name field found:', productNameField, 'Type:', productNameField.type);\r\n\r\n    \/\/ Step 4: Populate the product name field\r\n    productNameField.value = decodedFormattedProductName;\r\n    productNameField.setAttribute('value', decodedFormattedProductName);\r\n    console.log('Product name field populated with:', decodedFormattedProductName);\r\n\r\n    \/\/ Step 5: Trigger multiple events for Elementor\r\n    const events = ['input', 'change', 'blur', 'keyup'];\r\n    events.forEach(eventType => {\r\n        const event = new Event(eventType, { bubbles: true });\r\n        productNameField.dispatchEvent(event);\r\n    });\r\n    console.log('Events (input, change, blur, keyup) dispatched to product_name field');\r\n\r\n    return true;\r\n}\r\n\r\n\/\/ Run on DOM load and window load\r\ndocument.addEventListener('DOMContentLoaded', function() {\r\n    console.log('DOM loaded, attempting to populate fields...');\r\n    setTimeout(populateFormFields, 100);\r\n});\r\n\r\nwindow.addEventListener('load', function() {\r\n    console.log('Window loaded, attempting to populate fields...');\r\n    setTimeout(populateFormFields, 500);\r\n});\r\n\r\n\/\/ MutationObserver for dynamic Elementor forms\r\nlet observer;\r\nfunction startObserver() {\r\n    observer = new MutationObserver((mutations, obs) => {\r\n        console.log('MutationObserver triggered, checking for form fields...');\r\n        if (populateFormFields()) {\r\n            obs.disconnect();\r\n            console.log('Product name field populated, observer disconnected.');\r\n        }\r\n    });\r\n\r\n    observer.observe(document.body, {\r\n        childList: true,\r\n        subtree: true,\r\n        attributes: true,\r\n        attributeFilter: ['id', 'class']\r\n    });\r\n\r\n    \/\/ Timeout fallback\r\n    setTimeout(() => {\r\n        if (observer) {\r\n            observer.disconnect();\r\n            console.log('Stopped observing after 30 seconds. Form or fields not found.');\r\n        }\r\n    }, 30000);\r\n}\r\n\r\nsetTimeout(() => {\r\n    if (!populateFormFields()) {\r\n        startObserver();\r\n    }\r\n}, 1000);\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\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Kindly complete the form below to request your quotation. Vendtech Office Sales and Marketing:Pierre WolmaransTel: +27 82 784 6463 Production:Francois [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","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":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","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-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":"","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-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":"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":""},"mobile":{"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":""}},"footnotes":""},"class_list":["post-433","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.vendtech.co.za\/seats\/wp-json\/wp\/v2\/pages\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vendtech.co.za\/seats\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vendtech.co.za\/seats\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vendtech.co.za\/seats\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vendtech.co.za\/seats\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":109,"href":"https:\/\/www.vendtech.co.za\/seats\/wp-json\/wp\/v2\/pages\/433\/revisions"}],"predecessor-version":[{"id":1150,"href":"https:\/\/www.vendtech.co.za\/seats\/wp-json\/wp\/v2\/pages\/433\/revisions\/1150"}],"wp:attachment":[{"href":"https:\/\/www.vendtech.co.za\/seats\/wp-json\/wp\/v2\/media?parent=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}